relink

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #563925

    rtvvideo
    Participant

    how can I edit these buttons, I need them to link to the main page?
    compare and wishlist pages

    Attachments:
    You must be logged in to view attached files.
    #564010

    rtvvideo
    Participant

    my store is based only on categories, https://iqonix.de/
    there is no access to the store on any of the pages(https://iqonix.de/shop/)
    I need to change the link to the main page or remove the button from compare and wishlist pages

    #564044

    Hello,

    Try to add the following code in the function.php of the child theme.

    For the Cart Page Button:

    function wc_empty_cart_redirect_url() {
    	return 'https://your-custom-link.com';
    }
    add_filter( 'woocommerce_return_to_shop_redirect', 'wc_empty_cart_redirect_url' );

    For the Wishlist Page Button.

    function custom_woodmart_wishlist_return_to_shop_url() {
        return 'https://your-custom-link.com';
    }
    
    add_filter('woodmart_wishlist_return_to_shop_url', 'custom_woodmart_wishlist_return_to_shop_url');

    Make sure to replace ‘https://your-custom-link.com’ with the URL you want to redirect to.

    Best Regards.

    #564048

    rtvvideo
    Participant

    not For the Cart Page Button
    for compare page

    #564061

    rtvvideo
    Participant

    ok I figured it out
    I just changed “_wishlist_return_” to “compare_return”

    but it only works if I activate Woodmart Child
    I have it active now Woodmart

    if I activate Woodmart Child
    Will there be any changes to the site?>

    Attachments:
    You must be logged in to view attached files.
    #564156

    Hello,

    Activating the Woodmart Child theme shouldn’t cause any noticeable changes to your site’s appearance or functionality. It’s primarily used for customizations and overrides, ensuring your modifications aren’t lost during theme updates. So, you should be good to go!

    Best Regards

    #564333

    rtvvideo
    Participant

    yee it’s worked
    tnx!

    #564355

    Most Welcome!!!.

    I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.

    We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

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

The topic ‘relink’ is closed to new replies.