{docurl}
Is it possible to enter items into the basket which are not in Merchant's databases, such as auction items?
Yes, there are tokens that can be used in the "main template" so that a "section" of the Phone Order Manager page can be dedicated to entering these "special" items. Each of these tokens can be used to collect the data needed by the module to add the product to the basket:
%special_code#% (the product code. A required field)
%special_name#% (the prdouct name or description. if not entered or the token isn't used, the code will be used instead)
%special_quantity#% (the quantity of that product to add to the basket; required)
%special_price#% (the price; not required)
%special_weight#% (the weight of a single one of the items; not required but may be needed by your shipping module)
%special_attr#|x|yyy|% (can be used to collect additioanl data about the product which will be saved as an attribute when the product is added to the basket. The x, is the # of the attribute, up to 5 can be added for each product. The yyy is the length of the text field to display to prompt for the attribute. So to prompt, for the first product, for 3 attributes in a field 20 characters long you would have:
%special_attr1|1|020|%
%special_attr1|2|020|%
%special_attr1|3|020|%)
The # can be any number from 1 to 9 (i.e. you can have a form to enter up to 9 special items at a time; %special_code1% would prompt for the code for item 1, %special_code2% would prompt for the code for item 2, etc.).
Using the above tokens (other than the %special_attr# tokens), the field length will have default lengths. In addition to these forms of the tokens, you can also specify a particular field length by using the tokens in the form (where xxx is the field length):
%special_code#|xxx|%
%special_name#|xxx|%
%special_quantity#|xxx|%
%special_price#|xxx|%
%special_weight#|xxx|%
Here is a bit of example code which will add a "special items" section to the Phone Order Manager page to collect data for 2 items. In my test store, I put this in the "main template" right below the end of the little table which displays the payment method (i.e. the table that the %paymentlist% token is in):
<hr>
<center><h2><i>Special Items</i></h2></center>
<TABLE BORDER="0" CELLPADDING="2" CELLSPACING="0" WIDTH="100%">
<TR>
<TD ALIGN="left" VALIGN="middle" BGCOLOR="#000080">
</TD>
<TD ALIGN="left" VALIGN="middle" BGCOLOR="#000080">
<FONT FACE="Arial, Helvetica" SIZE="" COLOR="#ffffff">
<B>Code</B>
</FONT>
</TD><TD ALIGN="left" VALIGN="middle" BGCOLOR="#000080">
<FONT FACE="Arial, Helvetica" SIZE="" COLOR="#ffffff">
<B>Description</B>
</FONT>
</TD><TD ALIGN="left" VALIGN="middle" BGCOLOR="#000080">
<FONT FACE="Arial, Helvetica" SIZE="" COLOR="#ffffff">
<B>Quantity</B>
</FONT>
</TD><TD ALIGN="right" VALIGN="middle" BGCOLOR="#000080">
<FONT FACE="Arial, Helvetica" SIZE="" COLOR="#ffffff">
<B>Price/Ea.</B>
</FONT>
</TD><TD ALIGN="center" VALIGN="middle" BGCOLOR="#000080">
<FONT FACE="Arial, Helvetica" SIZE="" COLOR="#ffffff">
<B>Weight</B>
</FONT>
</TD><TD ALIGN="center" VALIGN="middle" BGCOLOR="#000080">
<FONT FACE="Arial, Helvetica" SIZE="" COLOR="#ffffff">
<B>Note</B>
</FONT>
</TD></TR>
<TR>
<TD ALIGN="left" VALIGN="middle" BGCOLOR="white">
</TD>
<TD ALIGN="left" VALIGN="middle" BGCOLOR="white">
%special_code1%
</TD><TD ALIGN="left" VALIGN="middle" BGCOLOR="white">
%special_name1%
</TD><TD ALIGN="left" VALIGN="middle" BGCOLOR="white">
%special_quantity1%
</TD><TD ALIGN="right" VALIGN="middle" BGCOLOR="white">
%special_price1%
</TD><TD ALIGN="center" VALIGN="middle" BGCOLOR="white">
%special_weight1%
</TD><TD ALIGN="center" VALIGN="middle" BGCOLOR="white">
%special_attr1|1|020|%
</TD></TR>
<TR>
<TD ALIGN="left" VALIGN="middle" BGCOLOR="cornsilk">
</TD>
<TD ALIGN="left" VALIGN="middle" BGCOLOR="cornsilk">
%special_code2%
</TD><TD ALIGN="left" VALIGN="middle" BGCOLOR="cornsilk">
%special_name2%
</TD><TD ALIGN="left" VALIGN="middle" BGCOLOR="cornsilk">
%special_quantity2%
</TD><TD ALIGN="right" VALIGN="middle" BGCOLOR="cornsilk">
%special_price2%
</TD><TD ALIGN="center" VALIGN="middle" BGCOLOR="cornsilk">
%special_weight2%
</TD><TD ALIGN="center" VALIGN="middle" BGCOLOR="cornsilk">
%special_attr2|1|020|%
</TD></TR>
</TABLE>
<center>%updatebutton%</center><br>
Last update: 2008-05-22 13:47
Author: Thor
Revision: 1.0
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














