|
||||||||||||||
|
Advanced InterfacesIn addition to the "normal" way of interfacing to eCOMpal through either a link to your catalog on eCOMpal or individual links from each of the items on your site to eCOMpal there are a couple of other ways to interface your site to eCOMpal. Both of the are based on you maintaining your own items on your web site.Multiple Item PurchasesIf you want to allow your customers to purchase more than one item at a time, you can do it by setting up a form on your site with items. Each item must have the following information: Desc, Price, Taxable. If you're using EZ Ship you need to add: weight. If you're using UPS for your shipping, you need to add Package. If the packaging is your own packaging, you need to add: Length, Width, Height. You can also add InsuredValue if you're using UPS shipping. Click here for the details of Multiple Item Purchases Adding Options to your ItemsFrequently, people want to add options like color, size, and etc. to their selections. This is relatively easy to do. The only challenge is if it affects the SKU that results from the options selected. For example, if a black item SKU is b123 and a red item SKU is r123 you'll have more programming to do to make that happen. Essentially, each item is set up as a form within your web page. So, if you have ten items on the page you'll have ten forms with the appropriate information in each form. Click here for the details of Options Multiple Item Purchase DetailsHere's sample input elements - Optional for all: Required for all shipping: Required for UPS Shipping: Required for UPS if packaging is your
own: Optional for UPS: Here's a sample page with multiple item order capability. Take a look at the source to see how this uses the elements discussed above. You can use it as a model for your pages. Adding Options to your items DetailIt's all based on a fairly simple piece of Javascript that you add to the header of your web page. <script language=javascript> function showData(formid) Note: Change the www.mysite.com to your web address and the UserId=1002 to your user id. It wont work if you don't!!! The field LinkAddr must be a hidden field in each of
your forms. It contains all the information about the item being ordered:
Desc, Price, Taxable, Weight, Schedule, SKU, Package, Length, Width,
Height. Here's a sample page with options that illustrates how it's done. You can use it as a model for your pages. |
|||||||||||||