fbpx get_sku(); } else{ $product_id = $woo_prefix.$product->id; } $price = $product->get_price(); ?> cart->get_cart(); $cartprods_items = array(); foreach ( (array) $cartprods as $entry ) { if($is_sku){ $sku = $entry['data']->get_sku(); //echo "SKU is ".$woo_prefix.$sku; array_push( $cartprods_items, "'".$woo_prefix.$sku."'" ); } else{ array_push( $cartprods_items, "'".$woo_prefix.$entry['product_id']."'" ); } } ?> get_total(); // Only run conversion script if the payment has not failed. (has_status('completed') is too restrictive) // And use the order meta to check if the conversion code has already run for this order ID. If yes, don't run it again. if ( ! $order->has_status( 'failed' )) { $order_items = $order->get_items(); $order_items_array = array(); foreach ( (array) $order_items as $item ) { if($is_sku){ $product = new WC_Product($item['product_id']); $sku = $product->get_sku(); array_push( $order_items_array, "'".$woo_prefix.$sku."'" ); } else{ array_push( $order_items_array, "'".$woo_prefix.$item['product_id']."'" ); } } ?>
Login | Register

WORLDWIDE SHIPPING
INTERNATIONAL SHIPPING AVAILABLE

HASSLE FREE RETURNS
FREE RETURNS ON ALL PRODUCTS

Barton’s Pickled Baby Beetroot 340g

Barton’s Pickled Baby Beetroot 340g

Baby beetroot pickled with spirit vinegar and acetic acid. “Barton’s, the family pickler, was first established by my great grandfather Edmund Barton over 100 years ago. He taught my dad ‘Pickle Eddie’ (pictured) the skills of making the perfect pickle. It’s this skill and knowledge, together with a genuine passion for pickling, that makes every jar of Barton’s, that little bit special. I hope you enjoy! Joanna (4th Generation Pickler)”

£4.99£29.99

SKU: N/A Categories: , Tags: , ,
Brand:Barton's

You may also like…