Adding quantity of product to the shopping cart

This is an archive of old posting to the User Forum

Adding quantity of product to the shopping cart

Postby Marianne Cooley » Fri Sep 06, 2002 7:56 am

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
Marianne Cooley
 

Re: Adding quantity of product to the shopping cart

Postby loren_d_c » Fri Sep 06, 2002 9:54 am

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
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 54 guests