Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Product info page, passing hidden attributes

Product info page, passing hidden attributes

Views: 672

Results 1 to 2 of 2
9 Mar 2012, 5:51 PM
#1
skylab001 avatar

skylab001

New Zenner

Join Date:
Jan 2008
Posts:
67
Plugin Contributions:
0

Product info page, passing hidden attributes

On my product info page, when a product is displayed there are occasions when certain attributes are selected that I would rather have pass silently through to the cart. An example would be a T-shirt that I'm selling. This particular shirt only comes in black so the "color" attribute (ID #6) is set to "black" in the admin section. On the product info page this displays as "please choose: Color black(radio button selected)" and then below that is a size drop down menu. This is ugly and not necessary to have the "black" radio button.

Is there a way to pass the Attributes that only have one selection and don't need any customer input silently(hidden) through to the cart?

9 Mar 2012, 5:58 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Product info page, passing hidden attributes

Not that I know of. If that shirt only is ever available in black, just don't assign the color attribute to it.