Hide Attribute options based on selection

Phoca Cart - complex e-commerce extension
User avatar
shibumi
Phoca Enthusiast
Phoca Enthusiast
Posts: 97
Joined: 11 Sep 2016, 22:22

Hide Attribute options based on selection

Post by shibumi »

I would like to know if there is some way to hide certain attributes or attribute options based on attribute selection...
I am setting up a courier service that allows customers to place and pay for online delivery services, but only want certain options available if they change their service type... for example, if they select "Envelope" as the package type, I don't want them to have to enter dimensions of the package unless they select "Small Box", "Medium Box", or "Large Box" at which point, selecting any of the "Box" Package Types would now reveal the Dimensions input fields.

Image
User avatar
shibumi
Phoca Enthusiast
Phoca Enthusiast
Posts: 97
Joined: 11 Sep 2016, 22:22

Re: Hide Attribute options based on selection

Post by shibumi »

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Hide Attribute options based on selection

Post by Jan »

Hi, unfortunately, there are no conditional attributes for now, so such needs to be customized.

Jan
If you find Phoca extensions useful, please support the project
Post Reply