Jump to content

aquatyer

Members
  • Content count

    59
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Aquatyer :-)
  1. aquatyer

    Quickly Update Product Stock

    Anyone? I would add that everything appears to work okay however if it lists 100 products in a category I get these two errors listed 100 times on the page first. for 200 products == 200 errors 300 == 300 errors and so on a real pain. Warning: reset() [function.reset]: Passed variable is not an array or object in \admin\quick_stockupdate.php on line 205 Warning: Variable passed to each() is not an array or object in admin\quick_stockupdate.php on line 206
  2. aquatyer

    Quickly Update Product Stock

    Hi Great contrib thanks for all the work. I get the following error Warning: reset() [function.reset]: Passed variable is not an array or object in \admin\quick_stockupdate.php on line 205 Warning: Variable passed to each() is not an array or object in admin\quick_stockupdate.php on line 206 The relevant code is below and it appears that it is the manufacturers field that's the problem, however I don't know what to do about it. I don't have any manufacturers in my shop so I guess it could be the cause. Help any suggestions $result = '<select name="stock_update[' .$cat_id . '][manufacturer]" onChange="changed(\'stock_update[' . $cat_id . '][changed]\');" title="'. QUICK_MANUFACTURER_ID . $default_id.'"><option value=></option>'; //This is line 205 below reset($manufacturers_list); //This is line 206 below while (list($key, $value) = each ($manufacturers_list)) { if($default_id==$key){ $result .= '<option value="' . $key . '" selected="selected">' . $value . '</option>'; } else { $result .= '<option value="' . $key . '">' . $value . '</option>'; } } $result .= '</select>'; return $result;
  3. aquatyer

    PayPal IPN no longer needed......

    Just a quick question about IPN Patrick Is it possible to pass the individual items ordered from osC to IPN and be notified by the Paypal email which items to ship. Put another way if 10 different items are paid for through Paypal IPN from osC will the Paypal email tell me what these items are. (As in the Paypal Shopping cart notification email.) Clear as mud! :)
×