How to hide catalog items field(variable) based on order guide variable (multi choice) selected.

Sangeetha12
Kilo Contributor

Hi,

I have created order guide with 3 catalog items. Based on "Rule Base" Catalog items are shown in order guide.

order guide has variable with the choice list. On the selection of choice, I need to hide the fields from catalog item.  

For example:

order guide variable with the choice list 1. new client 2. existing client

if the selected choice is the new client means I need to hide the variable from 1st catalog item. I have tried on change catalog client script. My script is not working.

Thanks for any help or ideas.

 

1 ACCEPTED SOLUTION

Alikutty A
Tera Sage

Hello,

You will need to create the same choice list variable on your catalog item (same name and hide it) and then click Cascade Variables on the Order guide. Its value will be copied over and accessible in your catalog item. Once this is done, the client scripts or UI policies will work as expected. Please try it out.

Thanks! 

View solution in original post

3 REPLIES 3

Alikutty A
Tera Sage

Hello,

You will need to create the same choice list variable on your catalog item (same name and hide it) and then click Cascade Variables on the Order guide. Its value will be copied over and accessible in your catalog item. Once this is done, the client scripts or UI policies will work as expected. Please try it out.

Thanks! 

Have you tried it out? Do you have any other queries?

Hi Ali,

Thanks for our reply. Now it's working fine.