cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to enable/disable quantity increase/decrease on the cart page?

Is there a way to enable/disable quantity increase/decrease on the cart page?

Is there in built functionality that limit or hide product quantity increase/decrease/delete  buttons from the Cart page?

5 REPLIES 5

Re: Is there a way to enable/disable quantity increase/decrease on the cart page?

Hi @donweb ,

 

There is no in built functionality but you can manage cart page by customizing template file in custom module or custom theme.

Override magento\module-checkout\view\frontend\templates\cart\item\default.phtml file in your theme at app\design\frontend\VENDOR\THEME_NAME\Magento_Checkout\templates\cart\item\default.phtml and do the changes 

Or

Check below link for custom module.

https://www.rakeshjesadiya.com/how-to-override-cart-item-default-phtml-in-magento-2/

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!

Re: Is there a way to enable/disable quantity increase/decrease on the cart page?

Hi @donweb 

 

There is no Magento default feature to enable/ disable qty increase/ decrease. You will have to customize the code. You can add the functionality of the qty increase/ decrease in the cart template file.


Please check below URL solutions for adding qty increase/decrease on cart page and Mini cart

 

https://magento.stackexchange.com/questions/142192/magento-2-chekcout-cart-page-qty-with-increase-an...

 

https://magento.stackexchange.com/questions/262976/how-to-add-quantity-increment-and-decreament-and-...

 

 

 

Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!

Re: Is there a way to enable/disable quantity increase/decrease on the cart page?

So Default Magento 2 cart does not have the functionality to Increase or decrease item quantities?

image attached...

I just want to clarify if the increase/decrease (+/-) buttons are a part of magento core.

 

2020-08-11-22-55-test.caddydaddy.com.png

Re: Is there a way to enable/disable quantity increase/decrease on the cart page?

Hi @donweb ,

 

Magento 2 vanilla (default luma theme) dont have quantity increase and decrease buttons on cart.

Check demo url:

http://demo-acm-2.bird.eu/

 

You must have added some customization or some third party theme which provide this feature.

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!

Re: Is there a way to enable/disable quantity increase/decrease on the cart page?

Hi @donweb 

No, Increase/decrease (+/-) buttons are not a part of the Magento core feature. There is no Magento default feature to enable/ disable qty increase/ decrease. It needs customization. You can try with the given solution.

 

 

Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!