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


{docurl}

I have the category template as my products and there are 2 products which should be purchased together.Whenever a customer adds one of the products I want the system to get back to the category page and show only the attributes and the quantity box for the products that is not added, I want to show them they have one product added and give them the option to add the other product.

(2003/11/06) There is a set of conditional tokens:

%begin_notinbasket%....%end_notinbasket%

which will display it's contents only if the the product is NOT currently in the basket.

So, you could use this token around the portions of the template that you want to suppress. If you want to suppress the entire product, then put the %begin_notinbasket% at the beginning of the "product template" and %end_notinbasket% at the end.

You could use the corresponding tokens:

%begin_inbasket%...%end_inbasket% (which displays it's contents only if the product IS in the basket) to display a messaged to the customer to please purchase the other product.



Last update: 2004-12-08 13:54
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