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

Solved3 replies2 participantsUpdated by Jack Richardson

  • Avatar: Our Little Bliss
    Our Little Bliss
    Participant

    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

    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

    Dear Jack,

    It works. Thanks for your help.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    You’re welcome!

    Regards,
    Jack Richardson

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