Sorry Mike
there has crept in another wrong link
When I make a purchase and put it in the shopping cart
and then delete the product in the shopping cart again
the link goes back to the store instead of my-shop
thanks
kind regards
Franz
Hey schweg33,
This will be trickier because the button is added after deleting the item without reloading the page, so the script is not triggered.
I don’t understand why you can’t make the change in the woocommerce settings?
Perhaps if you explain I can think of a different solution.
Best regards,
Mike
Hello Mike
I would like to use this function “function change_cart_backward_link”.
deactivated at the moment and have now entered my page “mein-shop” as store page
But when I click on this page, the product list appears as well.
I would like to have only this part with the categories displayed
is it possible to edit the store page and disable the product list
I hope I have expressed myself well
thank you and
kind regards
Franz
Hi,
Thanks for the feedback, I set your woocommerce shop option back to the way you had it to test and I found a function to change the return-to-shop url and added this to your new child theme option:
add_filter( 'woocommerce_return_to_shop_redirect', 'woocommerce_shop_url_mod' );
function woocommerce_shop_url_mod(){
return site_url() . '/mein-shop/';
}
I tested the empty cart and the deleted cart and this seems to work correctly, please check.
Best regards,
Mike
Hello Mike
many thanks for your support
Perfect
you can close this request
kind regards
Franz
Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike