Buy me a coffee

How to remove Quantity and Variant Dropdown on Product Block?

To remove Quantity and Variant dropdown on Product Block, you can follow these.

How To Remove Quantity And Variant Dropdown On Product Block 01 Min

#1. All Product Blocks

Use this code to Custom CSS box.

div.product-block {
div.product-quantity-input, div.product-variants {
display: none !important;
}
}

How To Remove Quantity And Variant Dropdown On Product Block 02 Min

#2. Specific Product Block

First, you need to find Product Block ID. In my example, it is:

  • #block-yui_3_17_2_1_1723420122123_4304

How To Remove Quantity And Variant Dropdown On Product Block 03 Min

Next, use this CSS code

#block-yui_3_17_2_1_1723420122123_4304 {
div.product-quantity-input, div.product-variants {
display: none !important;
}
}

How To Remove Quantity And Variant Dropdown On Product Block 03 Min