Home Forums WoodMart support forum Editing Wishlist Page

Editing Wishlist Page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #605210

    nikkylikescoffee
    Participant

    Hi I am unable to edit the content on the Wishlist page (I want to point the button link for Return to shop, see screenshot, to homepage). It says “This element is created for the wishlist page and you can find all its configuration in Theme Settings”. However, in the Theme Settings, I don’t see any option to change the link of this button. Thank you.

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

    Hung Pham
    Participant

    Hello nikkylikescoffee,

    Thanks for reaching to us.

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

    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 your-custom-link.com with the URL you want to redirect to.

    Best Regards,

    #605384

    nikkylikescoffee
    Participant

    Sorry this is too technical. You have my wordpress logins already, could you please help? I am afraid I am gonna make a mistake and break it. Thank you!!

    #605420

    Hung Pham
    Participant

    Hello nikkylikescoffee,

    I helped you to do that. Please purge cache and check again.

    Regards,

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