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
You cannot comment on this entry
Most Recent FAQ Entries: 
- Alternate ways to display the product and attribute data ... (2008-09-02 18:40)
- Adding both "Add All to Basket" and "Add to ... (2008-09-01 09:46)
- When adding a product to the basket from an ... (2008-08-27 19:02)
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
Top 10 
- 2940 views:
Adding Tokens to Evaluate Expressions - 2872 views:
Is there a way to "Limit" the number of ... - 2794 views:
Why won't you call me for technical support? I ... - 2682 views:
Are license keys valid for more than one store? ... - 2580 views:
I'm trying to enter a license key and get ... - 2569 views:
How do I install a module? - 2413 views:
How do I check for a module upgrade? - 2377 views:
How can display and change the parameters of an ... - 2220 views:
The total on my checkout pages are not correct. ... - 2018 views:
I have select and radio type attributes in my ...
















