- I'm trying to hide the quantity field of my products frontend.
- So I go to 'app/design/frontend/Magento/luma/Magento_Catalog/layout/catalog_product_view.xml'
And I try to hide it with:
<referenceContainer name="product.add.form"> <referenceBlock name="field.qty" remove="true"/> </referenceContainer>
And it doesn't do anything. So I'm trying to figure out what's the right combination of referenceContainer/Block to hide it.
MY QUESTION IS: What's the correct way to search for the container I want to hide? There's some way to figure out what's the correct one? Than you.
EDIT: I've found this but it doesn't seem to work with PHP 7.2.24 and/or magento 2.3.3.