Miva Merchant 4 Module FAQs » Product Page Templates (BROK_PRODTEMPLATES )


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

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry