How to hide button Notify Me on category page?

Created by Jane D, Modified on Mon, 31 Aug 2020 at 02:46 PM by Jane D

QUESTION:

Your module works fine for us. However, I couldn't find any config in the backend to remove the button Notify Me on the category page.

I don't want customer do it there. They should go to the product page to see product detail before.

Can you please help?


ANSWER:

I regret that our module doesn't support to remove/hide the button Notify Me on the category page currently.


To achieve this requirement, please download the attached files below and overwrite the current file on your site. 


+ app/code/Bss/ProductStockAlertCustom/Helper/ProductData.php

+ app/code/Bss/ProductStockAlertCustom/Model/Observer/ApplyProductAlertOnCollectionAfterLoadObserver.php

+ app/code/Bss/ProductStockAlertCustom/Plugin/Block/Product/View/Type/Configurable.php

+ app/code/Bss/ProductStockAlertCustom/etc/di.xml

+ app/code/Bss/ProductStockAlertCustom/etc/module.xml

+ app/code/Bss/ProductStockAlertCustom/registration.php


If there is anything else we might help you, please do not hesitate to contact us via https://bsscommerce.com/contact

We'd be happy to support.

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 atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article