Developer forum

Forum » Ecommerce - Standard features » Change Product amount in the shopping cart

Change Product amount in the shopping cart

Dmitrij Jazel
Reply
Hello DW Guys,

This one should be easy, I think...
Right now I am using standard, shopping cart template.
I am using an input text field with the value of total products. 

I wanted to know what I need to do so that it would be possible to change amount of the product by changing the text input field value?

Some tips here would be more than appreciated :-)

Regards,
Dmitrij
ChangeAmmount.png

Replies

 
Merethe Nielsen
Reply
This post has been marked as an answer

Hi

1) Use the Ecom:Order:OrderLine.Quantity.Input.Box tag to get a Quantity input field that you can update.
2) Add a an Update button:
<input type="submit" name="<!--@CartV2.CurrentStepButtonName-->" id="<!--@CartV2.CurrentStepButtonName-->" 
value="<!--@Translate(update, "Update")-->" class="submitter" />

Kind regards,
Merethe
UpdateCart.png
Votes for this answer: 0
 
Dmitrij Jazel
Reply
Hi Marethe,

Thanks for the help ;-)
Worked like a charm!

Kind regards,
Dmitrij

 

You must be logged in to post in the forum