Miva Merchant 5 Module FAQs » Inventory Manager 5.x
You can display the inventory "status" of each product in this manner:
1) Go to the "items" tab of the page you want to add the display to, for example, the Basket Contents (BASK) page and make sure that the Inventory Manager "item" is assigned to that page.
2) On the "Basket Contents" tab of that page add the tokens that you want to use. They need to go inside of the code:
<mvt:foreach iterator="item" array="basket:items">
</mvt>
(there will be a bunch of other </mvt>s before the one that belongs to the <mvt:foreach...). This is the loop which displays the items in the basket.
You can use the "usual" tokens listed in the 5x_documentation.txt file that is included in the Inventory Manager download zip file. Including:
<mvt:item name="BROK_INVENTORY" param="long_message" /> :the product's current level's long message
<mvt:item name="BROK_INVENTORY" param="short_message /> :the product's current level's short message
<mvt:item name="BROK_INVENTORY" param="level_name /> :the current inventory level (name)
{docurl}
How can I display an inventory "status" message in the basket (either on the BASK screen or during checkout) so that customers can see if the product is back-ordered?
NOTE: in the latest versions of the module (updating is always a good idea) this is best accomplished using the values set by the module in the l.all_settings and l.settings variable (i.e. it now uses the same approach as Merchant itself). Details can be found in this FAQ on the subject:
Displaying and Controlling the Inventory Data
You can display the inventory "status" of each product in this manner:
1) Go to the "items" tab of the page you want to add the display to, for example, the Basket Contents (BASK) page and make sure that the Inventory Manager "item" is assigned to that page.
2) On the "Basket Contents" tab of that page add the tokens that you want to use. They need to go inside of the code:
<mvt:foreach iterator="item" array="basket:items">
</mvt>
(there will be a bunch of other </mvt>s before the one that belongs to the <mvt:foreach...). This is the loop which displays the items in the basket.
You can use the "usual" tokens listed in the 5x_documentation.txt file that is included in the Inventory Manager download zip file. Including:
<mvt:item name="BROK_INVENTORY" param="long_message" /> :the product's current level's long message
<mvt:item name="BROK_INVENTORY" param="short_message /> :the product's current level's short message
<mvt:item name="BROK_INVENTORY" param="level_name /> :the current inventory level (name)
Last update: 2009-07-17 11:51
Author: Thor
Revision: 1.2
You cannot comment on this entry
Records in this category
- Inventory Manager is not reducing the inventory count when customers add products to their basket. Why?
- Runtime error when performing an import: Array index must be positive integer
- How can I display an inventory "status" message in the basket (either on the BASK screen or during checkout) so that customers can see if the product is back-ordered?
- I would like to conditionally display something for a product but only if the current level is '3'. How do I do this?
- Using the module's tokens inside of the "Product Attribute Display" field
- Displaying and controlling the inventory data














