How to disable cart functionality from woocommerce store. I want user can only see products available.customer can not purchase from store.
Leave a Reply
You must be logged in to post a comment.
How to disable cart functionality from woocommerce store. I want user can only see products available.customer can not purchase from store.
You must be logged in to post a comment.
the easiest way is make the products not purchasable..
To fully disable woocommerce purchase functionality:
More option you can find here: https://react2wp.com/remove-hide-add-to-cart-button-in-woocommerce-while-disabling-keeping-purchase-functionality/
If you need conditions, you can use the following code:
For example, if you need to check users: