Wordpress LScache Plugin: LiteSpeed Breaks Checkout
Checkout breaks when adding this to functions.php and LiteSpeed Cach? enabled. Problem appears even when all cache settings are off. It only works when LiteSpeed Cache disabled. Tried with many themes for example: Twenty Seventeen and Woopress. add_filter( woocommerce_cart_item_name, quadlayers_product_image_checkout, 9999, 3 ) function quadlayers_product_image_checkout( $name, $cart_item, $cart_item_key ) if ( ! is_checkout() ) return $name $product = $cart_item[data] $thumbnail = $product->get_image( array( 50, 50 ), array( class => alignleft ) ) / Above you can change the thumbnail size by changing array values e.g. array(100, 100) and also change alignment to alignright / return $thumbnail . $name Image of blocked Checkout: Image The page I need help with: http://www.chilevapo.cl please check in browser dev tool , see what happen to that request