Button URL - by Our Little Bliss - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 10 years, 6 months ago ago by Jack Richardson

  • Avatar: Our Little Bliss
    Our Little Bliss
    Participant
    June 13, 2014 at 08:32

    Dear Support,

    Please advise where can I find the button’s URL as attached because I would like to change it. Currently it is linking to a wrong page.
    https://www.dropbox.com/s/n4ixiul71ua98li/ReturnToShop%20Button%20URL.png

    Many Thanks.

    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 13, 2014 at 09:21

    Hello,

    You have to edit archive-product.php file in the idstore/woocommerce/ directory. Find the following line <p><a class="button active arrow-left" href="<?php echo get_permalink(woocommerce_get_page_id('shop')); ?>"><span><?php _e('Return To Shop', ETHEME_DOMAIN) ?></span></a></p>
    and replace this <?php echo get_permalink(woocommerce_get_page_id('shop')); ?> with your desired link.

    Also to save your changes after the theme upgrading we recommend you to create a Child theme and copy there archive-product.php file with changes .

    Regards,
    Jack Richardson

    Avatar: Our Little Bliss
    Our Little Bliss
    Participant
    June 13, 2014 at 15:06

    Dear Jack,

    It works. Thanks for your help.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 13, 2014 at 15:13

    Hello,

    You’re welcome!

    Regards,
    Jack Richardson

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Button URL’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.