
WooCommerce: Hide Price & Add to Cart for Logged Out Users
If you require only logged in users to be able to see prices in woocomerce, here is how you can do it. Add the following to the bottom of your themes functions.php file.
If you require only logged in users to be able to see prices in woocomerce, here is how you can do it. Add the following to the bottom of your themes functions.php file.
Here’s how you can easily add some plus/minus buttons around the quantity add to cart input. First, the code to add the buttons to the page. Next the jQuery to control changing the quantity when the buttons are clicked. Finally, depending on your theme you may need to…