At start: thanks for great and simply plugin! Simply and clever solution.
I trying to add some more variations to admin’s email when order is created.
Can add vatiations in dp-cart.php like:
$totalprice = $dpsc_total;
$shipping = $dpsc_shipping_value;
$paymentoption = __($payment_option, "dp-lang");
I need to print products table. When i use $products in line:
$array2 = array($billing_addreess, $order_id, $shipping_address, $invoice, $shop_name, $site_url, $transaction_log, $products);
it’s display all information from base about this products, like this:
a:2:{i:0;a:5:{s:2:”id”;s:3:”355″;s:4:”name”;s:5:”Test2″;s:5:”price”;d:1000;s:8:”quantity”;i:1;s:6:”weight”;s:4:”1500″;}i:1;a:5:{s:2:”id”;s:3:”362″;s:4:”name”;s:5:”Test3″;s:5:”price”;d:2000;s:8:”quantity”;i:1;s:6:”weight”;i:0;}}
, but i need to print only some fields like ‘name’ and ‘quantity’.
I’m a little stumped and need help. Can anyone help me with that problem?
Thanks.