Zen Follower
- Join Date:
- Apr 2015
- Location:
- United States
- Posts:
- 144
- Plugin Contributions:
- 0
Post #61 by fjbern1943
fjbern1943:
Hello,
First let me thank you very much, especially since this is away off topic for this thread.I will give this a try and see how I make out. Seems like a very reasonable approach.
Frank
OK it didn't work. It produces an error:
[11-Aug-2016 15:36:31 America/Chicago] PHP Warning: Invalid argument supplied for foreach() in /hsphere/local/home/religiousshop/religious-shop.com/includes/classes/order.php on line 713
Here is Line 712 to 719 in order.php:
712 $shipping_array = $_SESSION['cart']->vendor_shipping;
713 foreach ($shipping_array as $vendors_id => $shipping_data) {
714 $vendors = $db->Execute("select vendors_name from " . TABLE_VENDORS . " where vendors_id = '" . (int)$vendors_id . "'");
715 $vendors_name = 'Unknown';
716 if ($vendors) {
717 $vendors_name = $vendors->fields['vendors_name'];
718 }
719 $shipping_method_array = explode ('_', $shipping_data['id']);
What do you think?
Frank