Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Flat Shipping Module Problem


DarthVader

Recommended Posts

Hi All,

 

I am having real problems adding a duplicate flat shipping module. I have copied flat.php in catalogincludesmodulesshipping and renamed all the modules adding A1 to all module names, this copied file is called shipping1.php. I have then copied flat.php in catalogincludeslanguagesenglishmodulesshipping and renamed that shipping1.php also and renamed all modules within it adding A1 to the module names but nothing extra appears in Admin under modules/shipping. I know that if I rename shipping1 to say shpping2.php in the the english folder, the Admin will report an error so it is definitely seeing it. So where am I going wrong?

 

Thanks in advance.

Link to comment
Share on other sites

hmm i'm not exactly sure about this but i think ther must be something added to the db in order for it work properly.

also did you add the file name to /includes/filenames.php?

can you explain a bit of what you're trying to accomplish?

The more you do, the more you learn

Link to comment
Share on other sites

xxGeek, dont need to add "shipping1.php" to "filenames.php"

 

Just do the following:

 

With your editor, ex Wordpad just change,

 

class from flat to shipping1

function flat to shipping1

$this->code = 'fedexmod'; to $this->code = 'shipping1';

 

And then with the replace tool of wordpad:

 

Replace all _FLAT to _SHIPPING1

 

 

Thats all

 

 

 

Sorry for my bad english,

 

 

Regards.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...