ORDERANYWHERE MULTIPLE PRODUCTS

This is an archive of old posting to the User Forum

ORDERANYWHERE MULTIPLE PRODUCTS

Postby tjmitoraj » Sun Jun 13, 2004 1:36 am

I am setting up my site to sell individual products and group packages,
which include 5 products at a time.

I have successfully added OrderAnywhere buttons to my existing website for
the individual products.

I am wondering if there is a way to add multiple products to one
OrderAnywhere button so that the five products associated with that group
are added to the shopping cart with one click.

I will then use a coupon to apply a discount to the group of products.

I have considered the subproducts option, but the customer has to do more
work by clicking on every item in the group.

I was hoping there was an way to modify the link for the Add to Carton
button. Any suggestions?

Thank you.
Tom M.
tjmitoraj
 

Re: ORDERANYWHERE MULTIPLE PRODUCTS

Postby Rob » Sun Jun 13, 2004 6:35 am

I am wondering if there is a way to add multiple products to one
OrderAnywhere button so that the five products associated with that group
are added to the shopping cart with one click.

I will then use a coupon to apply a discount to the group of products.

I have considered the subproducts option, but the customer has to do more
work by clicking on every item in the group.

There are 2 options you could choose:

1. Setup a product that is actually all 5 of the products you want added at
once. This is the most simple method.

2. Use code for a multi-add to cart button that utilizes hidden fields to
have all 5 products added without any clicking. Sample code would be like:
---
<form action="/path/to/sc/order.cgi" method=post>

<input type=hidden name=storeid value="your_store_id">
<input type=hidden name=dbname value=products>
<input type=hidden name=function value=add>

<input type=hidden name=sku value="SKU1">
<input type=hidden name=sku value="SKU2">
<input type=hidden name=sku value="SKU3">
<input type=hidden name=sku value="SKU4">
<input type=hidden name=sku value="SKU5">

Click below to add the combo 5 pack to your cart:<P>
<input type=image src="/path/to/add_to_cart.gif" alt="add_to_cart.gif"
border=0 align="bottom" name="Add to Cart">

</form>
---

HTH

Rob
Rob
 

Re: ORDERANYWHERE MULTIPLE PRODUCTS

Postby tjmitoraj » Mon Jun 14, 2004 6:36 am

Rob,

I really appreciate you taking the time to provide me this info. I will
have to give this some thought before I decide which option to go with.

It may be a question if I want to work a little harder now or later.

Ultimately, I will be running some Order API scripts at the completion of
the order and it will simplify our code a bit if the products are listed
separately. To support the functionality of my site, a new record is
created for each product purchased. If I include them as a group in one
product, it will make my end code a little longer.

Regards,
Tom

Tom


"Rob" <rob@mangiafico.net> wrote in message
news:cahl6f$obg$1@support.shopsite.com...
I am wondering if there is a way to add multiple products to one
OrderAnywhere button so that the five products associated with that
group
are added to the shopping cart with one click.

I will then use a coupon to apply a discount to the group of products.

I have considered the subproducts option, but the customer has to do
more
work by clicking on every item in the group.

There are 2 options you could choose:

1. Setup a product that is actually all 5 of the products you want added
at
once. This is the most simple method.

2. Use code for a multi-add to cart button that utilizes hidden fields to
have all 5 products added without any clicking. Sample code would be like:
---
form action="/path/to/sc/order.cgi" method=post

input type=hidden name=storeid value="your_store_id"
input type=hidden name=dbname value=products
input type=hidden name=function value=add

input type=hidden name=sku value="SKU1"
input type=hidden name=sku value="SKU2"
input type=hidden name=sku value="SKU3"
input type=hidden name=sku value="SKU4"
input type=hidden name=sku value="SKU5"

Click below to add the combo 5 pack to your cart:<P
input type=image src="/path/to/add_to_cart.gif" alt="add_to_cart.gif"
border=0 align="bottom" name="Add to Cart"

/form
---

HTH

Rob

tjmitoraj
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 13 guests

cron