Change Link for “Înapoi la postere” Button on Wishlist Page
-
I need to update the link for the “Înapoi la postere” button on the Wishlist page. It currently redirects to “https://posterup.ro/product/adele/”, but I would like it to point to “https://posterup.ro/product-category/exploreaza-postere/”.
Please let me know how I can modify this.
Thank you for your assistance.
Hello,
Try to add the following code in the function.php of the child theme.
function custom_woodmart_wishlist_return_to_shop_url() {
return 'https://posterup.ro/product-category/exploreaza-postere/”';
}
add_filter('woodmart_wishlist_return_to_shop_url', 'custom_woodmart_wishlist_return_to_shop_url');
Best Regards,
Hi,
I tried it and it did not work.
Hello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content under the message area field so that we can check this concern on your Site and help you out accordingly.
Best Regards,
I wrote bellow the details.
Hello,
Your issue has been resolved. The issue occurred because the Shop page was not set up in your WooCommerce settings. I have now created the Shop page on your site and properly set it under WooCommerce > Settings > Products.
Then added the code in function.php of the theme and it is working fine. Check back on your site and check the issue.
Best Regards,
Hello,
You’re very welcome! I’m glad I could help. If you need anything else, feel free to reach out!
Thanks for contacting us.
Have a great day.
Topic Closed.
Best Regards,
The topic ‘Change Link for “Înapoi la postere” Button on Wishlist Page’ is closed to new replies.