Page 1 of 1

Adding quantity of product to the shopping cart

PostPosted: Fri Sep 06, 2002 7:56 am
by Marianne Cooley
I haven't found this in the documentation or by looking through the posts.
I almost thought I had it once or twice!

I want to be able to automatically add quantity 2 or 3 of a certain item to
the shopping cart, but I didn't see a parameter for quantity that I could
influence. We use order anywhere, so I was anticipating that I might be
able to do something like &function=add&quantity=3 as part of that
statement.

Anyone know how I may do that?

Thanks,
Marianne

Re: Adding quantity of product to the shopping cart

PostPosted: Fri Sep 06, 2002 9:54 am
by loren_d_c
Marianne,

What version of ShopSite are you using? If you have v6 then you should be able
to check the "Display Order Quantity" checkbox in a product's Edit Product
Layout and then when you go to OrderAnywhere and select that product and hit
the
Show Selected HTML, and you will get a full FORM for adding the product to the
cart with a quantity box. You can use this FORM, and make the quantity form
value of type 'hidden' rather than 'text' and then whatever number you set as
the 'value' will be the hardcoded quantity that will be sent to the shopping
cart.

However, the shopper will still be able to change the quantity once the item is
in the cart.

-Loren




Marianne Cooley wrote:

I haven't found this in the documentation or by looking through the posts.
I almost thought I had it once or twice!

I want to be able to automatically add quantity 2 or 3 of a certain item to
the shopping cart, but I didn't see a parameter for quantity that I could
influence. We use order anywhere, so I was anticipating that I might be
able to do something like &function=add&quantity=3 as part of that
statement.

Anyone know how I may do that?

Thanks,
Marianne