The link in the button goes to the product page instead of the front page
-
https://www.erlk.shop/cart/ << Empty cart page
The link in the button goes to the product page instead of the front page
I want to change it to go to the front page
Hello,
Sorry there is no such option available to change the links of those buttons. It requires customizations and this is beyond our limitations and support policy.
Best Regards.
I just want it to go to the front page when I press the button
Can’t you just tell me the css way?
Hello,
Please add this code to the function.php of the child theme:
function wc_empty_cart_redirect_url() {
return 'https://www.mywebsite.com/';
}
add_filter( 'woocommerce_return_to_shop_redirect', 'wc_empty_cart_redirect_url' );
Best Regards.
Thank you, the issue with that button has been resolved.
However, the mobile shop button has the same issue.
How can I make that button go to the http://www.erlk.shop domain?
I’ve attached a photo
Attachments:
You must be
logged in to view attached files.
Hello,
Go to Theme Setting > General > Mobile bottom navbar > Use the custom button for the shop page and insert your own url.
Best Regards.
don’t have an icon that matches my theme.
Can you tell me how to change the button link with a CSS modification?
Hello,
Sorry to say it is not possible with Custom CSS code. So the functionality you want requires Customization and I am sorry this is beyond our limitations.
Best Regards.