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