Support » Fixing WordPress » Changing shop address on cart page

  • Resolved davedon72

    (@davedon72)


    Hi Folks.
    When people go onto the cart page, they get the ‘back to sop’ link. Can I change the address this goes to? I was not keen on the shop page because it was a bit to basic and I lack the skills to make it look a lot better. I built a new home page and when people click on the ‘back to shop’ link, I want them to go to my new home page. Is that possible?

    i use Woo-commerce cart.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Yes, you can change the back to shop link. For this, go to wp-content/themes/yourtheme/woocommerce/cart/cart-empty.php file and change the code which is in anchor link href parameter with your prefered link.
    If you dont find this file in your theme, then go to wp-content/plugins/woocommerce/templates/cart/ and copy this file cart-empty.php to your theme.

    Thread Starter davedon72

    (@davedon72)

    Cheers.
    Once I get over my cold. I will have another look for the files. Right now I can’t seem to see them (I know they will be there), and my cold is making me cranky.

    Thanks for the help.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    The correct way of making updates to the WooCommerce plugin templates is to create a Child Theme: https://codex.wordpress.org/Child_Themes

    Then to copy the WooCommerce template files (that you want to modify) into your Child Theme folder and change it there.

    Otherwise updating your theme or updating your plugin will erase any changes you’ve made to them.

    You should also ask for support in the WooCommerce plugin section so that you can receive help from the plugin developers and contributors: https://wordpress.org/support/plugin/woocommerce#new-post

    Thread Starter davedon72

    (@davedon72)

    Sorry for the delay in responding. I have sorted things out.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Changing shop address on cart page’ is closed to new replies.