Hi,
thank you! I took the code from … /theme-init.php and put it in the functions.php of the child theme, but it didn’t work. It still linked to the checkout.
if (class_exists('WooCommerce')) {
global $woocommerce;
$etConf['checkoutUrl'] = esc_url( wc_get_cart_url() );
}
I also tried only the line you sent me
$etConf['checkoutUrl'] = esc_url( wc_get_cart_url() );
What worked was placing the whole theme-init.php into the child theme. But is there a way to avoid this?
Best regards
Martin