{docurl}
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?
This is possible (and relatively simple) if you're using our Order Status Manager.
Here's how to go about setting it up:
On the Phone Order Manager's "Third party tokens" tab register the Order Status Manager (enter BROK_ORDERSTATUS for both the module and token fields). Then in the "Process update tokens" field add:
%module1|BROK_ORDERSTATUS|copy_order|%
Then in the "Main page template" on the "Main page" tab add the code (where you want to display the field into which you enter the Order id):
Copy Order: %module|BROK_ORDERSTATUS|copy_field|%
%updatebutton%
And that's all that's necessary.
The token:
%module|BROK_ORDERSTATUS|copy_field|%
displays a text field:
which collects the order to copy. The token
%updatebutton%
simply displays the "Update" button and can be replaced with any "submit" button. For example:
Similarly, instead of using the token %module|BROK_ORDERSTATUS|copy_field|% you could use your own form field with the name CopyOrder to change the size, set a maximum, etc.
If you enter an incorrect Order ID the module will define a message which will be displayed right above the %module|BROK_ORDERSTATUS|copy_field|% token. If you would prefer to display the message differently you can check the variable g.OrderNotFound to determine if the order was not found and then display whatever you want:
%begin_if|g.OrderNotFound|%
the order wasn't found!
%end_if%
Similarly, if you would like to display the message itself somewhere else, you will find it in the variable g.OrderCopyMessage and you can display it with:
%var|g.OrderCopyMessage|%
If the order is sucesffully copied the variable g.OrderCopied will be set to 1, so you could use this in a test such as:
%begin_if|g.OrderCopied|%
Order %var|g.CopyOrder|% was succesfully copied
%end_if%
Message
Last update: 2007-11-27 15:04
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














