Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Solution to multiple shipping types


katie_miller

Recommended Posts

Solved previous post - solution is to use names that do not include underscores.

 

For instance instead of MODULE_SHIPPING_EXPRESS_REGIONS use MODULE_SHIPPING_EXPRESSREGIONS. For whatever reason, the code gets confused in the array if underscores are used.

 

I have this working with three different types of shipping (ground, three day, and overnight). Here are examples for each of the variables I used without underscores to get this to work. Also I noticed that the

 

In addition, the class and function names must be in lowercase. I was not able to install the modules when they were in caps.

 

Example for variables:

ground - MODULE_SHIPPING_REGIONS_STATUS

three day - MODULE_SHIPPING_THREEDAYREGIONS_STATUS

overnight - MODULE_SHIPPING_NEXTDAYREGIONS_STATUS

 

Hope this helps!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...