Miva Merchant 4 Module FAQs » Wishlist (BROK_WISHLIST)


{docurl}

How do I keep customer from ordering out of stock items from the wishlist?

(2003/06/18)To do this you'll need to add conditional tokens around the buttons in the template. These tokens are:

%begin_instock%...%end_instock% which displays the text between them only if the item is in stock
%begin_outstock%...%end_outstock% which displays the text between them only if the item is NOT in stock.

So to have the "add to basket" checkbox removed for out of stock items and replaced with the text "out of stock" you would replace the token:

%addtobasket%:

with:

%begin_instock%
%addtobasket%:
%end_instock%
%begin_outstock%
out of stock
%end_outstock%



Last update: 2005-01-12 09:17
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