OS_Tim Posted September 15, 2006 Share Posted September 15, 2006 Darn good point. I removed from the main shipping and low and behold, it followed the else statement. I will work with the code as you outlined. Thanks. MVS will never set MODULE_SHIPPING_INDVSHIP_STATUS. It will set MODULE_SHIPPING_INDVSHIP_STATUS_1 for vendor 1 (substitute the number of your vendor for the 1s here.) So, if you are setting the Individual Ship module in the Vendors section of the Admin, not the original Modules section, then you will need to add the vendors id to the end of every constant that you expect the module to set. So first make certain that you have all of the settings correct in the Vendors admin. You might want to disable the indvship module from the regular osCommerce side to make certain that your changes are reading the proper constants. If everything in the Admin is set up correctly, then I would put in some test code to see if we can figure out what is or isn't getting set. Try adding this just above the foreach loop above the line that's giving the error (line 125 or so): print "<b>Global Variables: </b>\n"; print '<pre>'; print_r ($GLOBALS); print '</pre>'; That should give a whole list of module data. See if there is anything in the indvship section. I may be able to figure out where to look based on that information. Regards Jim Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.