How to disable quantity dropdown function on the homepage

Created by Robin Hoang, Modified on Mon, 11 Dec, 2017 at 12:03 PM by Robin Hoang


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?


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
        if($page == 'cms_index_index')
            return $result;

For more information about product, please refer Quantity Dropdown for Magento 2 page.

If you need any further assistance, please feel free to contact us.

Please visit our site for more useful Magento 2 Extensions:

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article