cancel
Showing results for 
Search instead for 
Did you mean: 

Replace Product on Cart using Cart.phtml

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Replace Product on Cart using Cart.phtml

I would like to know on how to Replace the Product on the Cart with the Rule of Single Item Per Order. I wish to edit only the Cart.phtml. How would I do that?

2 REPLIES 2

Re: Replace Product on Cart using Cart.phtml

Go to Catalog -> Product

 

Then click on the product that you want to limit

 

Then go to the inventory tab and set the "Maximum Qty Allowed in Shopping Cart" to 1

 

 

Magento Moderator since 2009
Keep Calm and Clear Cache!

Re: Replace Product on Cart using Cart.phtml

Thing is that I limit the cart to one product only. I am not limiting my product quantity to 1, I limit my cart to number of item on the cart. Then whenever I add another product... the item on the cart is not the latest product I added. I wish that it would be the latest product.