Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #524083

    Using Woocommerce, we set up our own page for the main shop page rather than using the default one. It works nicely, but we’ve come across a problem.

    If someone empties their cart, they get shown a ‘Return to Shop’ button. However, as we have removed the default page from the woocommerce settings, this button now does nothing at all.

    Is there some coding you can suggest which will allow this button to direct to the new storefront page which we have created? I can’t think of what to apply or where to apply it, so would really like a pointer or two if possible.

    Many thanks!

    #524307

    Hi nigdowser,

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.

    Thanks,
    Rikard

    #524417

    Thanks: Details as requested

    #524463

    Hey!

    You should open your WordPress installation directory, go to wp-content > plugins > woocommerce > templates > cart > cart-empty.php and find the following code in line 22:

    http://pastebin.com/dDaveWYw

    Best regards,
    Dake

    #525202

    Excellent! Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘'Return to Shop' button issue’ is closed to new replies.