Miva Merchant 4 Module FAQs » Category Page Templates (BROK_CTGYTEMPLATES)


{docurl}

How can I display only the description and price of the first product associated to that category?


(2003/09/10)You can use the conditional %begin_if|expression|% to do this:

%begin_if|(g.prod_count - g.offset) EQ 0|%
Price: %prodprice%
Description: %proddesc%
%end_if%

I.e. Put the %begin_if|(g.prod_count - g.offset) EQ 0|%...%end_if% around the portions of the template that you want to display ONLY for the first product.



Last update: 2004-12-08 13:56
Author: Support
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Records in this category