Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #9572

    I have two types of products on my site. Wholesale & Retail. I duplicated the Retail product and added in a Wholsale price. I then created two different shop pages, one to display my Retail prices & one (which is password protected) to display my Wholesale prices.

    The problem is that when someone on the site empties the shopping cart, the “Return to Shop” link returns that person to the WooCommerce Shop Base Page which displays all the Products ie my Wholesale products next to my Retail products.

    I can’t have my retail customers seeing my wholesale prices so I need to send the link to a specific page defined by me, ie my Retail Product Page.

    How can I achieve this?

    Thanks in advance for any help offered,

    My website is:

    Here is a screenshot of the button I want to modify:


    See Below


    Ok, I solved the problem,

    You can find the answer here:


    In the latest version (1.4.4) the code can be found in woocommercetemplatescartempty.php

    Maybe you can even use the woocommerce_cart_is_empty() hook but I’m not entirely sure.


    Hi, does anyone know what needs to be done to create a password protected shopping page using the Abundance theme? I changed the visibility setting to password-protected but the shop page is still displaying all of the products. I’m trying to setup up a shop that is similar to what erikriemsdyk has done, two sections (one for retail and one for wholesale). Is there something else that needs to be done in order to password protect the shop page?




    I’m not sure about this. I’d ask the woocommerce devs: if WooCommerce supports this configuration or if they can add this feature to it.



Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘WooCommerce: How to Modify the "Return to Shop" Link when you Empty your Cart’ is closed to new replies.