3

I'm attempting to hide the "Add To Cart" button for specific stores currently and am having some issues with my lack of experience. It works in each individual store but not when using the search function because this returns results for a "default" store being used since our search function can't return results from multiple stores.

My question is when are multistore setups helpful? My company is using separate stores for each category of products on the same site and within each store there's sub-categories for the products.

It would be much easier for me to hide products if they were all in the same store in different categories. I'm wondering if I'm right about setting up the store this way and if not what the best solution to my problem is.

Once again the problem I'm trying to fix is hiding the "Add To cart" button when using the search feature.

Thanks for any help!

  • you can setup every store on a separate domain with a different design theme, different products and customer groups to target audience of each store. Or you can use the option to share customers, products, pricing and other data among different stores. – Aditya Shah Oct 2 '18 at 5:39
0

Please install below module which is provide like this features. Store owner to hide the product price and add to cart button from guests or certain customer groups.

https://github.com/karliuka/m2.ProductAvailable

after install put below command via ssh.

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy

I hope its very helpful to you..

I already reply answer here - Hide store prices if not logged in - Magento 2.3.1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.