Jump to content

Hidde/Show some Attributes


lajatronik
 Share

Recommended Posts

Hi Presta Developers!!

 

I have one question about PHP and Javascript which I am lost.

 

 

In products, I want that custom field appears only when one attribute value is selected, how I can do this?  For example in this product, when I select Golf Clubs>Yes, I want that the custom field text appears. So it isinvisible when "No" is selected and visible when "Yes" is selected. Is similar to registration page when you write on company field and the VAT field appears under it.

 

If someone could help me I would be very gratefull.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More