Miva Merchant 4 Module FAQs » Wishlist (BROK_WISHLIST)


{docurl}

I am using the List Manager and Inventory Manager together. However, the List Manager is showing items in the list that are out of stock in the Inventory Manager

The fix for this is to add conditional tokens to the "Products Template" field of the various page templates. Use the conditional tokens:

%begin_IM_forsale%
%quantitybox%
%else%
Out of
Stock
%end_IM_forsale%

(which will show the %quantitybox% token if the wish list item is in stock and display Out of Stock if the item is out of stock)

and

%begin_IM_forsale%

%addtobasket%

%end_IM_forsale%

(which will show the "add to basket" checkbox if the list item is in stock).


If you prefer, there are also a "NOT for sale" version of this token:

%begin_IM_notforsale%

**out of stock code

%else%

**in stock code

%end_IM_notforsale%

These conditionals will correctly take into account any attributes which the wish list item might have. Note that the Inventory Manager token %module|BROK_INVENTORY|permit_sale|% will not correctly take into account any attributes that the list item might have.



Last update: 2007-04-19 16:45
Author: Brok
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