Page 9 of 9 FirstFirst ... 789
Results 81 to 85 of 85
  1. #81
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,672
    Plugin Contributions
    9

    Default Re: Multiple Ship-To Addresses [Support Thread]

    Will do soon. Youngest daughter lost father-in-law to Covid and we are dealing with that. Will be a bit before I get back to the compound.

  2. #82
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,672
    Plugin Contributions
    9

    Default Re: Multiple Ship-To Addresses [Support Thread]

    Still away but pecan guy says when multi placed with US addy first and Canada after, estimator shows only US postage. Lost $30 shipping on order to US & Canada.

    May be relatted with tax?

  3. #83
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,672
    Plugin Contributions
    9

    Default Re: Multiple Ship-To Addresses [Support Thread]

    beginning to get foreacch() errors on line 388 of admin/inncludes/functions/html_output.php at line 388

    Current code for lines 387-393
    Code:
        foreach ($values as $value) {
          $field .= '<option value="' . zen_output_string($value['id']) . '"';
          if ($default == $value['id']) {
            $field .= ' selected="selected"';
          }
    Real busy time of the year for these folks. I wss wondering if he following code would fix the problem
    Code:
    if (is_array($values) || is_object($values))
        foreach ($value as $value) {
          $field .= '<option value="' . zen_output_string($value['id']) . '"';
          if ($default == $value['id']) {
            $field .= ' selected="selected"';
          }
    THANX

  4. #84
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    11,373
    Plugin Contributions
    80

    Default Re: Multiple Ship-To Addresses [Support Thread]

    The "fix" is to find who is calling that function with a non-array value, not to put sticking plasters everywhere an interface error could occur. Surely, the log includes a trace of 'who' called zen_draw_pull_down_menu with those invalid parameters.

  5. #85
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,672
    Plugin Contributions
    9

    Default Re: Multiple Ship-To Addresses [Support Thread]

    Maybe this will help. Making no sense to me.

    1.5.7d
    PHP 7.4
    News Box
    Dynamic Price Updater
    OPC
    Access Blocker
    Sales Report
    Mod List
    Clone


    Code:
    [14-Dec-2022 00:09:48 UTC] Request URI: /GusBallp/index.php?cmd=orders&oID=5316&action=edit, IP address: 108.197.89.49
    #1 zen_draw_pull_down_menu() called at [/GusBallp/includes/classes/observers/class.multiship_admin_observer.php:209]
    #2 multiship_observer->addMultiShipStatusFields() called at [/GusBallp/includes/classes/observers/class.multiship_admin_observer.php:152]
    #3 multiship_observer->update() called at [/includes/classes/class.base.php:118]
    #4 base->notify() called at [/GusBallp/orders.php:1001]
    #5 require(/GusBallp/orders.php) called at [/GusBallp/index.php:11]
    --> PHP Warning: Invalid argument supplied for foreach() in /GusBallp/includes/functions/html_output.php on line 388.
    
    [14-Dec-2022 00:09:48 UTC] Request URI: /GusBallp/index.php?cmd=orders&oID=5316&action=edit, IP address: 108.197.89.49
    #1 zen_draw_pull_down_menu() called at [/GusBallp/includes/classes/observers/class.multiship_admin_observer.php:209]
    #2 multiship_observer->addMultiShipStatusFields() called at [/GusBallp/includes/classes/observers/class.multiship_admin_observer.php:152]
    #3 multiship_observer->update() called at [/includes/classes/class.base.php:118]
    #4 base->notify() called at [/GusBallp/orders.php:1001]
    #5 require(/GusBallp/orders.php) called at [/GusBallp/index.php:11]
    --> PHP Warning: Invalid argument supplied for foreach() in /GusBallp/includes/functions/html_output.php on line 388.
    
    [14-Dec-2022 00:09:48 UTC] Request URI: /GusBallp/index.php?cmd=orders&oID=5316&action=edit, IP address: 108.197.89.49
    #1 zen_draw_pull_down_menu() called at [/GusBallp/includes/classes/observers/class.multiship_admin_observer.php:209]
    #2 multiship_observer->addMultiShipStatusFields() called at [/GusBallp/includes/classes/observers/class.multiship_admin_observer.php:152]
    #3 multiship_observer->update() called at [/includes/classes/class.base.php:118]
    #4 base->notify() called at [/GusBallp/orders.php:1001]
    #5 require(/GusBallp/orders.php) called at [/GusBallp/index.php:11]
    --> PHP Warning: Invalid argument supplied for foreach() in /GusBallp/includes/functions/html_output.php on line 388.

 

 
Page 9 of 9 FirstFirst ... 789

Similar Threads

  1. v151 Multiple Ship - From addresses for Shipping (UPS module)
    By samueljjs in forum Addon Shipping Modules
    Replies: 1
    Last Post: 22 Apr 2014, 03:03 PM
  2. Ship to multiple addresses?
    By Nimbuz in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 3 Dec 2007, 06:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR