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



  • KMC Salt & Pepper Seasoning

    The ultimate Salt & pepper seasoning, ready for any dish and turn them all into a 10/10!

    Take a Look

  • Yau's Curry Sauce

    Yau's is amazing for everyone to try and then love!

    • Gluten Free
    • Soy free
    • Nut free
    • Dairy free
    • MSG Free
    • Vegan
    • Authentic Flavour
    • All Natural
    • Easy to use
    Take a Look

  • Golden Wonders

    Take a look at your Favourite crisp and grab a great deal too!

    Treat yourself with our crisps and snacks – with something for everyone,
    you’re sure to find something you love!

    Take a Look

  • Barton’s Pickles

    Take a Look

Featured Products


Are you missing home? Do you fancy something new? Or have you heard the rumours about British chocolate being the best?! Look no further, here at Rainford Online Trading we are a family run business focused on sharing the best of British across the world! With over 50 years of experience in the retail in our store in the North of England we finally made the step online late in 2013.


We now supply thousands of customers across the world every month! Can’t find what you are looking for? Need help with something on the site? Spot something you want to comment on? We love hearing from our customers and making sure that you are 100% happy and confident while using our service.

Our dedicated customer service team are waiting to do whatever they can to help you. Visit our contact page, call 01744 883388 or email rotltd@outlook.com for more information!