Question:
Can you tell me what is the easiest way to disable the Quantity Drop Down for Magento 2 extension for just the home page specifically?
Answer:
In order to disable the function of Quantity Drop Down for Magento 2 extension only on the home page, could you please edit this file: /home/signedge/public_html/edgetest/app/code/Bss/QuantityDropdown/Plugin/CategoryPlugin.php
add code
$page=$this->request->getFullActionName();
if($page == 'cms_index_index')
return $result;
For more information about product, please refer Quantity Dropdown for Magento 2 page.
Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html
Learn more about us:
BSS Commerce is a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.
We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.
Ready to explore our top tier extensions:
- For B2B businesses, our Magento B2B Extension by BSS Commerce is a flagship and widely adopted solution globally, offering advanced pricing, company account management, and streamlined workflows.
- Magento 2 SEO Extension by BSS Commerce attracts more customers and increases conversions with optimized search performance.
If you need any further assistance, please feel free to contact us. We'd be happy to support you!
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article