Miva Merchant 5 Module FAQs » Phone Order Manager 5.x


{docurl}

Issues with restricting order quantity by Merchant's inventory feature

We are using Merchant's inventory feature to track our product inventories. However, we are able to add more quantity to the basket than should be in stock. Why?
There was a bug in the module which was fixed in version 5.037 that was causing this. Updating to that version (or later) will fix the problem. However, although the module won't let you add more quantity than is available you'll likely want to modify your templates to display a message to that effect.

Using the code:

%var|g.InventoryMessage|%

the module will display the appropriate "Limited Stock Message". If a specific message is configured for the product it will use that one, otherwise it will use the default one. In the current versions the default template (the one set up when the module is first installed) displays th message with the code:

%begin_if|g.InventoryMessage|%
<font color="red">%var|g.InventoryMessage|%</font>
<br>
%end_if%



Last update: 2009-01-23 17:48
Author: Michael Brock
Revision: 1.1

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