Miva Merchant 4 Module FAQs » Phone Order Manager (BROK_PHONEORDERS)


When I attempt to add a product with insufficient inventory or when I try to increase the quantity of a product in the basket past the available inventory the page simply refreshes. How can I display a message to the user about what happened?

The module stores the inventory message in the variable g.InventoryMessage. The inventory message can be displayed with the token:


and conditionally displayed with the conditional:




This won't display anything unless you attempt to increase the quantity past the available inventory or attempt to add a product to the basket which is out of stock. The message itself (the value stored in g.InventoryMessage) is not currently configurable but you don't have to display it and could instead do something like:


There is insufficient inventory on hand to add that product or change the quantity


Last update: 2007-11-16 14:20
Author: Thor
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