Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Make a copy of a shipping module to use separate


dafonk

Recommended Posts

Hi,

 

I´m trying to make a copy of the zone.php shipping module to use it as two, or more, separate modules.

What I did is change the class name in all places where it appears in the document and of course I rename with that name the php file.

Every thing works ok and I could install both instances of the modules separately. For example I´ve zone 1.php, zone 2 .php and so on.

 

I´m working with PSM (Individual Product Shipping Method) where I can choose wich shipping module (method) I want to use with each product.

Every thing works ok....and in the store, when I check the purchase procedure it show me the shipping cost that I configure correctly... BUT

 

The copy of the original module does not pass to payment.php, stays in shipping.php. The oder is workin right...

 

 

Just to be sure, I did the same with another module (like item.php) and it does the same. So there is some conflict between the copies.

 

 

What I´m missing?

 

 

Danks for any Help

Link to comment
Share on other sites

  • 5 years later...

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...