The site: Chrisco.dk
The template: chrisco_ProductList.html (Templates -> eCom -> ProductList)
The page used: http://www.chrisco.dk/Default.aspx?ID=632
I have an input field that handles the quantity, and Im using "cartcmd=add" function to add one product, which only adds one product. How to I hook up the inputfield value to the cartcmd=add function, so the number of products in the inputfield is added to the cart, and not just one?
Developer forum
E-mail notifications
How to add the same product several times..
Posted on 06/10/2010 11:15:04
Replies
Nicolai Høeg Pedersen
Posted on 06/10/2010 11:31:09
Posted on 11/10/2010 12:20:06
Thanks for the help, but I cannot seem to get it to work.
I have added the form tag and the hidden fields, the form handler and the input field..
Please help. Im working on a live site..
Site: Ricken.com
template: ecom -> productlist -> Bauhaus_Norge_Table.html
I have added the form tag and the hidden fields, the form handler and the input field..
Please help. Im working on a live site..
Site: Ricken.com
template: ecom -> productlist -> Bauhaus_Norge_Table.html
Nicolai Høeg Pedersen
Posted on 11/10/2010 12:50:11
After you have added the form and the hidden field, you also need to change the add to cart link. It has to submit the form instead of still being a link that adds one item.
Posted on 11/10/2010 12:53:53
ok..tested the anchor by submitting the multiform.. Its still not working.. I just cant figure out what Im missing here :S I commented the anchor out because its alive site, so they still have to be able to buy
Nicolai Høeg Pedersen
Posted on 11/10/2010 13:13:33
Well - i gave you the link to how to add multiple products from the product list - not how to add a product multiple times... Sorry.
So - it goes like this:
<form name="<!--@Ecom:Product.ID-->" id="<!--@Ecom:Product.ID-->" method="get">
<!--@Ecom:Product.Form.Clean-->
<input type="text" name="quantity" value="1" />
<input type="submit">
</form>
So - it goes like this:
<form name="<!--@Ecom:Product.ID-->" id="<!--@Ecom:Product.ID-->" method="get">
<!--@Ecom:Product.Form.Clean-->
<input type="text" name="quantity" value="1" />
<input type="submit">
</form>
Posted on 11/10/2010 13:54:00
no harm done. Thanks the the swift response(s) :)
You must be logged in to post in the forum