Get a fast, conversion-focused WooCommerce theme in 2024. Switch to Shoptimizer.

Home Documentation Shoptimizer Remove Shoptimizer Quantity Arrows

Remove Shoptimizer Quantity Arrows

Shoptimizer includes up/down quantity arrows on the product and cart pages. These adjust the quantity by 1, which would be the most common use case.

However some stores may want to change the quantity by a different number. This is usually achieved by integrating a min/max quantity plugin.

If this is a requirement, it would be best to dequeue Shoptimizer’s quantity.min.js file, and make some CSS adjustments.

By doing so, it will revert to the default WooCommerce quantity input state which should work with these third-party plugins.

Within your child theme’s functions.php file, include the following:

Next, we’ll need to add some custom CSS. This can be added to your child theme’s style.css file.

Note: If you are removing the core arrows, you will also need to disable the quantity arrows within the mini cart – as they rely on the JS being removed. Appearance > Customize > Header and Navigation > Cart.

$50
Off

Do you want a whopping $50 off Shoptimizer for WooCommerce?

Click the button below to get Shoptimizer for only $49. (Regular price: $99).
This is a special launch offer for today only.
Get it before it is gone!