Jump to content

Display the product attributes in product details page


Recommended Posts

Hai,

 

 

I am creating the attributes for products.

 

For example i have one product name is "Banner", for this product i have two attributes like "Type" and "Colors"

 

In Type i have two values like "Plain", "Printed".

 

In Colors, i have three values like "2colors","3colors","4colors".

 

 

Now all the attributes combinations are showing perfect. but my Original requirement is 

 

If I select the type "Plain", I dont want to show the next option Colors and their values

 

If I select the type "Printed", then I want to show the next attribute Colors and their values. 

 

 

 

I am using PS 1.5.6.1
Edited by franklinfs (see edit history)
Link to comment
Share on other sites

you can do that by using javascript.first 

 

 

Hai,
 
 
I am creating the attributes for products.
 
For example i have one product name is "Banner", for this product i have two attributes like "Type" and "Colors"
 
In Type i have two values like "Plain", "Printed".
 
In Colors, i have three values like "2colors","3colors","4colors".
 
 
Now all the attributes combinations are showing perfect. but my Original requirement is 
 
If I select the type "Plain", I dont want to show the next option Colors and their values
 
If I select the type "Printed", then I want to show the next attribute Colors and their values. 
 
 
 
I am using PS 1.5.6.1

 

you can do that by using javascipt.

first check the value of your "type" drop down if it is plain then that drop down box on change event disable the options colors otherwise enable colors options.

Thanks,

Ganesh

Link to comment
Share on other sites

×
×
  • Create New...