Loaded Commerce Community

Banner


Board index » Loaded Commerce Support » Tips & Tricks

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Copied shipping method not working when the original removed
PostPosted: Sun Jan 29, 2012 11:50 am 
Offline
CRE Newbie
User avatar

Joined: Sat Oct 28, 2006 12:00 am
Posts: 25
Hello,

As I require a number of shipping method options per region I copied the zonessingle.php (and it's language file) to zonesingle_eu_recorded.php, and replaced the variables and functions with, for example, "class zonesingle_eu_recorded { ...", "function zonesingle_eu_recorded() {... ", "'MODULE_SHIPPING_zonesingle_eu_recorded_TEXT_TITLE') .." etc.

This worked very well in that the One Page Checkout picked the correct method and added it to the order total and forwarded the correct total amount to the payment engine.

But once I removed the original Single Zone from Admin the copied methods stopped working, in that the One Page Checkout does not add the shipping cost to the order total. Still, the copied shipping options are correctly displayed on the order_checkout.php page. After further testing it appears as if the One Page Checkout page still looks for the original (and now removed) shipping method option even though it did found the copied shipping method option once the original method was still there. Very strange. I have tried to remove and re-install the copied methods, 2x checked the CONFIGURATION database table, but no joy. I can't get the copied shipping methods to work again.

Is this a known bug in the way in which shipping methods are being installed and removed, or is it just me? If anyone has experienced a similar issue and has found a resolution then please let us know.

I run version 6.4.1a.

Many thanks,
Bjorn


Top
 Profile  
 
 Post subject: Re: Copied shipping method not working when the original removed
PostPosted: Mon Jan 30, 2012 2:56 am 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2405
Location: New Zealand
It'll just be you.

You backed up the dbase before removing the original singlezone module yes?
So compare the config tables before and after.
Tried reinstalling the original singlezone module?

Failing that, remove the lot, reinstall the original singlezone and go from there as before.

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: Copied shipping method not working when the original removed
PostPosted: Tue Jan 31, 2012 6:18 pm 
Offline
CRE Newbie
User avatar

Joined: Sat Oct 28, 2006 12:00 am
Posts: 25
Doh!

Yes, well I did the basic testing of comparing the db records, reinstall the modules etc before posting but thanks anyway. Interestingly, I get the same result if the original module is merely disabled (so not only if uninstalled). The work-around is to install the original and then do the code changes afterwards, then install copied modules and then never ever touch the original module again!! It's not neat, but it works.

Thanks,
Bjorn


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Board index » Loaded Commerce Support » Tips & Tricks

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Wed May 23, 2012 7:39 pm
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Forums Latest Activity

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy