{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:48
Author: Thor
Revision: 1.0
You cannot comment on this entry
Records in this category
- 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?
- Is it possible to display the inventory count, short message, etc. (from Merchant's inventory feature) on the product listing and basket pages?
- Is it possible to sort the product in the "product listing" on the Product Search pop-up?
- Is it possible to control whether or not in-active products are displayed in the "Product Search" listing?
- 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?
- How can I display the Order Status Manger's "Order note" field on the Phone Order Manager page?
- I use the %stocklevel% token to display the inventory count of products listed in the "Search products" window but they are not matching the inventory count in Merchant admin. Why?
- Is it possible to display the fields added by Merchant's Customer Custom Fields module on the Phone Order Manager page and to edit the data?
- How do I display the Shopper Selected Sales Tax list on my Phone Order Manager page?
- 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".
- How do I add new users?
- How can I set a default price group to use for all customers?
- Issues with restricting order quantity by Merchant's inventory feature
- Collecting payment data on the POM page
- Using our Coupons module with Phone Order Manager
- Using Gift Certificate Manager with Phone Order Manager
- Adding a button to copy Shipping info to Billing info














