Developer forum

Forum » Templates » Updating quantity in cart

Updating quantity in cart


Reply

Hi Sebastian




When adding to cart, a quantity of "1" is usually added.



How would you modify the standard template ShowCart in order to have an input field accept a larger quantity instead of pressing "+" a hundred times to place an order for 100 items.



Thanks../Claus Levinsen


Replies

 
Reply
Hi,



Use the template tag to get an input box in the Showcart template.



-Emil
 
Reply

Thanks, Emil - got it!



But that also calls for an update button, doesn't it?

I don't see that in DwTemplateTags - any idea?





/Claus

 
Reply
Hi Claus,



I forgot to mention one thing, you need to add as well, that generates a
tag that is necessary for the updates.



Then add the somewhere in your template.



And you need a submit button:







Also don't forget to close form tag with
.







Regards,

Emil


 

You must be logged in to post in the forum