Hello, you’re right, switching to another theme fixed the error in sg optimizer. I took a look at the code but don’t exactly see what the problem is i understand this maybe outside the scope of your support, would appreciate a helping hand nonetheless ??
The code is the following :
if ( class_exists( ‘WooCommerce’ ) ) {
global $woocommerce;
$checkout_url = $woocommerce->cart->get_checkout_url();
}else{
$checkout_url=”;
}
Appreciate your help, Thank youu ??