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


{docurl}

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.

There isn't any module particularly for this.  However, if you're using our Order Status Manager module to track the status of your orders and to offer your customers the option to view and re-order previos orders, then the functionality you're after can be approximated.   When using Phone Order Manager, if you search for a customer and select a customer to use their data, the user is logged in as that customer.  So the basic idea to get this functionality is to add a link on the Phone Order Manager page to view that customer's orders in a pop-up window.  You would then be able to select the order, and, if you have the Order Status Manager configured to permit re-ordering, add the products to the basket.  You would then close the pop-up, Click on the "update" button back on the Phone Order Manager page and the products will be added to the basket.

The first step is to setup Order Status Manager to provide your customer with the option to re-order from previous orders. Details on how to go about this can be found in this <a href="http://vikingcoders.com/faq/index.php?action=artikel&solution_id=1096">FAQ</a>

Once that is accomplished, you'll need to add the link to the Phone Order Manager page.  Somewhere in the "Main Page Template" (on the "Main Page" tab in the module's admin page) add the code:

%begin_if|BasketList.d.cust_id|%
<A href="javascript:void(0);" onclick="window.open('http://yourstore.com/Merchant2/merchant.mvc?Store_Code=alpha&Screen=STATUS&ScreenStatus=1','Certs','width=640,height=640');">
Customers Orders</A>
%end_if%

This will display the customer's Order Status Manager listing in a pop-up window, but the link will be displayed only if the user is logged in as a customer (i.e. it will appear only after the user has selected a customer with an account).  You will need to edit the url in the link above to use the url to your Merchant store and to use your own store code in the Store_Code=alpha variable.



Last update: 2008-08-06 18:00
Author: Thor
Revision: 1.0

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