{docurl}
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:
%var|g.InventoryMessage|%
and conditionally displayed with the conditional:
%begin_if|len('%var|g.InventoryMessage|%')|%
%var|g.InventoryMessage|%>
%end_if%
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:
%begin_if|len('%var|g.InventoryMessage|%')|%
There is insufficient inventory on hand to add that product or change the quantity
%end_if%
Last update: 2007-11-16 14:20
Author: Thor
Revision: 1.1
You cannot comment on this entry
Records in this category
- Making "Additional Charge" Display When Using COD Payment Module
- Unable to Sort by Product Code OR Name
- Eliminating Out of Stock Items From Displaying In the Product List
- Specifying a Quantity For Each Item In Product List
- Displaying Tax Module Fields on Phone Order Manager Interface
- In previous versions of the module I could enter addresses that were missing elements otherwise required during normal Merchant checkout (such as a shipping email address) but now I am returned to the OINF screen to provide missing information.
- 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?
- 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?
- Is there a token similar to %basketprice_nochange% for the tax and shipping prices. Looking to have the boxes not be editable unless under a specific login.
- With the %recalculatetax% token, is there a way that after the page is updated, for that box to remain checked after update?
- I would like to configure Phone Order Manager so that I can copy entire orders into the basket to make "re-ordering" easier. Can I do this?
- 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?
- 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".
- I am looking for a module that will allow me to use my phone order manager and while in that process be able to hit a link or button that will put the exact last order back into the system from the customers last order.
- Is there any way to look up a customer's previous order information?
- How can I set a default price group to use for all customers?
- Collecting payment data on the POM page
- Adding a button to copy Shipping info to Billing info














