{docurl}
Is it possible to display the inventory count, short message, etc. (from Merchant's inventory feature) on the product listing and basket pages?
Yes, this can be accomplished by adding tokens to the templates that control what is displayed.
The tokens that can be used in the "Product Listing template:" (on the "Search Pages" tab) and "Product Template:" (on the "Main Page" tab) are:
%stocklevelcode% replaced with the "stock level code" (using the Merchant inventory feature)
%stockmessage% replaced with the long stock level message (using the Merchant inventory feature)
%stockmessageL% replaced with the long stock level message (using the Merchant inventory feature)
%stockmessageS% replaced with the short stock level message (using the Merchant inventory feature)
%stocklevel% replaced with the inventory count (using the Merchant inventory feature)
In addition, there are conditional tokens which will display their content only if the condition they test for is true:
%begin_instock%....%end_instock% will display it's content, represented by the ellipses, only if the product is in stock
%begin_outstock%...%end_outstock% will display it's contents only if the product is out of stock
%begin_lowstock%...%end_lowstock% will display it's contents only if the product is at "low" stock level
%begin_inv_tracked%...%end_inv_tracked% will display it's content only if the product's inventory is being tracked.
So, for example, to disply the product's stock level and the current inventory count on the "Product listing" in the serch pop-up, you could use the tokens, in the "product listing" template:
%begin_inv_tracked%
%stocklevel% (%stocklevelcode%)
%end_inv_tracked%
(the use of the conditional prevents the parentheses from being dispalyed for products which are not having their inventory tracked).
Last update: 2007-09-07 13:54
Author: Brock
Revision: 1.0
You cannot comment on this entry
Records in this category
- I do not want all users of the module to be able to change the product price and/or quantity while taking orders. How do I do this?
- Is it possible to display the inventory count, short message, etc. (from Merchant's inventory feature) on the product listing and basket pages?
- Is it possible to sort the product in the "product listing" on the Product Search pop-up?
- Is it possible to control whether or not in-active products are displayed in the "Product Search" listing?
- The page loads sometimes take a little while. Is it possible to display a "loading" graphic to remind the user that the page is loading?
- How can I display the Order Status Manger's "Order note" field on the Phone Order Manager page?
- I use the %stocklevel% token to display the inventory count of products listed in the "Search products" window but they are not matching the inventory count in Merchant admin. Why?
- Is it possible to display the fields added by Merchant's Customer Custom Fields module on the Phone Order Manager page and to edit the data?
- How do I display the Shopper Selected Sales Tax list on my Phone Order Manager page?
- What does the "Add all products in ctgy:" option do?
- Is it possible to enter items into the basket which are not in Merchant's databases, such as auction items?
- Is there any way to add a negative number to the basket total, for example, to give a discount to a customer?
- Is it possible to display a link in Phone Order Manager which will add a product to the basket or bring up the Product Search window with results for a particular search term? For example, I'd like to be able to see all results for "certs".
- How do I add new users?
- How can I set a default price group to use for all customers?
- Issues with restricting order quantity by Merchant's inventory feature
- Collecting payment data on the POM page
- Using our Coupons module with Phone Order Manager
- Using Gift Certificate Manager with Phone Order Manager
- Adding a button to copy Shipping info to Billing info














