{"id":3915,"date":"2024-12-15T10:47:21","date_gmt":"2024-12-15T10:47:21","guid":{"rendered":"https:\/\/ithemelandco.com\/docs\/woorbp\/?p=3915"},"modified":"2024-12-16T07:27:04","modified_gmt":"2024-12-16T07:27:04","slug":"hide-price-add-to-cart-guest-users","status":"publish","type":"post","link":"https:\/\/ithemelandco.com\/docs\/woorbp\/hide-price-add-to-cart-guest-users\/","title":{"rendered":"How to hide the price or add-to-cart button for guest users?"},"content":{"rendered":"\n

It is very common for store owners to decide to hide product prices or add-to-cart buttons for guest users and prevent them from ordering products before registration. Although WooCommerce has no option for hiding product prices or add-to-cart buttons, the WooCommerce Role Based pricing plugin<\/span><\/a> provides you with all the necessary tools for doing this task perfectly.<\/p>\n\n\n\n

Hide the Add to Cart button for Guest users<\/h2>\n\n\n\n

If you want to hide the add to cart button for guest users, follow the below steps:<\/p>\n\n\n\n

    \n
  1. Go to the iThemeland<\/strong> -> Role Based Pricing<\/strong>.<\/li>\n\n\n\n
  2. Go to the Hide price <\/strong>tab.<\/li>\n\n\n\n
  3. Mark the Enable Hide Price & Add to Cart<\/strong> and Hide for Guest users<\/strong>, respectively. <\/li>\n<\/ol>\n\n\n\n
    \"Hide<\/a><\/figure>\n\n\n\n
      \n
    1. Mark Hide Add to cart button<\/strong> which means guest users will not see this button in the archive or product page anymore. However, you can also show a custom text to the guest users or lead them to a new page by adjusting the following settings:\n