I would like to have my attributes display differently within a single product depending on the attribute. For example, I would like the first "select" type attribute to have a default of <Select One> but only the first one.
(2004/09/01)You can use conditionals in the attribute fields to display different attribute tokens depending on hte attribute. You can test on the attribute database fields: code, attribute id, attribute name, etc. and also on:
g.Total_Attributes (the "number" of that attribute displayed for that product. The first displayed attribute is 1, the second, 2, etc.).
g.Count_Attributes (the "number" of the attribute in that attribute row. So the first attribute in a "row" would be 1, the second would be 2, etc.).
So in your particular example:
The token, to be used in the "select" attribute field, for displaying the field w/ the "select one" is
%fields|<Select one>|%
The token for displaying the select list without the
Last update: 2004-12-07 12:51
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- Alternate ways to display the product and attribute data ... (2008-09-02 18:40)
- Adding both "Add All to Basket" and "Add to ... (2008-09-01 09:46)
- When adding a product to the basket from an ... (2008-08-27 19:02)
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
Top 10 
- 2920 views:
Adding Tokens to Evaluate Expressions - 2852 views:
Is there a way to "Limit" the number of ... - 2775 views:
Why won't you call me for technical support? I ... - 2665 views:
Are license keys valid for more than one store? ... - 2566 views:
I'm trying to enter a license key and get ... - 2555 views:
How do I install a module? - 2397 views:
How do I check for a module upgrade? - 2363 views:
How can display and change the parameters of an ... - 2210 views:
The total on my checkout pages are not correct. ... - 2011 views:
I have select and radio type attributes in my ...
















