The issue was with this line of code in the default template
$_product = isset( $item['variation_id'] ) ? wc_get_product( $item['variation_id'] ) : wc_get_product( $item['product_id'] );
I switched it to this instead and it works fine now
$product_id = ! empty( $item['variation_id'] )
? $item['variation_id']
: $item['product_id'];
$_product = wc_get_product( $product_id );
Hi Carlos,
Yeah I just tested it with the original template and the issue still persists
Thanks
Hi Dmytro,
There is no Fatal error related to the issue
Regards
-
This reply was modified 1 year, 8 months ago by moszaid.