Hi There
I have a shop with 2 languages: 1st language - german, 2nd language english. Everything works fine, but the breadcrumbs on the overview (with the categories of the shop) are not linking to the correct page. I tried to add a code in functions.php - but then the link goes only to (e.g.) the english page. How can I add a correct code that on the german page it's linked to the german shop and on english pages to the english-shop.
Code I added:
add_filter( 'woocommerce_breadcrumb_home_url', 'woo_custom_breadrumb_home_url' );
function woo_custom_breadrumb_home_url() {
return 'https://wp.k-ness.ch/en/shop/';
}
https://www.screencast.com/t/vrFynJ9pgHvq
This is the shop-page in german: https://www.screencast.com/t/kdTp7Byf
As my english is not so good, hope you understand my "problem"
Theme is DIVI Child theme (elegantthems).
Wordpress 4.9.8.
WPML Mutlilignual and Woocomemerce
Website under construction: wp.k-ness.ch
Thanks very much for your help.