Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Quantity update in shopping cart


Recommended Posts

It is difficult to update the quantity of an item in the shopping cart (have to change quantity and find the UPDATE button at the bottom).


1. I want to place a button "Update Quantity" under the quantity box for each item in the shopping cart.

2. I also want to have a delete button for each row of items in the shopping cart.



Which file should be modified? Anybody know of pre-written code that I could use?





Link to comment
Share on other sites

In catalog\shopping_cart.php there is a "for" loop that processes the items. Further down you will see the $products_name being populated with the icon and price, qty etc.


So there you will need to add 2 new table elements one for Quantity Update and the other for your delete button. Also near the beginning of the file you will need to add the header names for the new columns like Update, Delete

Link to comment
Share on other sites

  • 6 months later...


This topic is now archived and is closed to further replies.

  • Create New...