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.
If you need any further assistance, please feel free to contact us.
Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html
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