Guest hdcm Posted September 10, 2011 Share Posted September 10, 2011 Hi All Is it possible to have more than 1 flat rate shipping option? For Example 1. Express Post 2. Registered Post 3. International Post Etc? If it is possible could someone please outline the code and changes required. I can do minor modifications but i am not a php guru! Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Guest hdcm Posted September 12, 2011 Share Posted September 12, 2011 Also just realized that there is no Pickup Option? This was available in Cubecart 3 Quote Link to comment Share on other sites More sharing options...
Guest Posted October 20, 2011 Share Posted October 20, 2011 Hi All Is it possible to have more than 1 flat rate shipping option? For Example 1. Express Post 2. Registered Post 3. International Post Etc? If it is possible could someone please outline the code and changes required. I can do minor modifications but i am not a php guru! Thanks in advance. +1 I too need to setup 2 or 3 different shipping options. Anyone?? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted October 20, 2011 Share Posted October 20, 2011 v5.0.5 does have a pickup option I think in the General Settings. Quote Link to comment Share on other sites More sharing options...
Guest Viola Posted October 20, 2011 Share Posted October 20, 2011 You could try making a copy of the Flat Rate module and renaming it. You would need to do the following: 1. Go to /modules/shipping/ and make a copy of the Flat_Rate folder. Rename the copy to "Express_Post". 2. In the Express_Post folder open config.xml in a code editor. Change the line <uid>[email protected]</uid> to <uid>[email protected]</uid> and change <name><![CDATA[Flat_Rate]]></name> to <name><![CDATA[Express_Post]]></name> 3. In the file /Express_Post/shipping.class.php change the line class Flat_Rate { to class Express_Post { 4. In the file /Express_Post/language/module.definitions.xml change the line <group name="flat_rate"> to <group name="express_post"> and change <string name="module_title"><![CDATA[Flat Rate]]></string> to <string name="module_title"><![CDATA[Express Post]]></string> Edit the module description if you want to. 5. In the file /Express_Post/skin/admin/index.tpl change <div id="Flat_Rate" class="tab_content"> to <div id="Express_Post" class="tab_content"> and change <p>{$LANG.flatrate.module_description}</p> to <p>{$LANG.express_post.module_description}</p> You should now have both Flat Rate and Express Post shipping modules in your admin dashboard. Quote Link to comment Share on other sites More sharing options...
Guest mjparty Posted October 30, 2011 Share Posted October 30, 2011 You could try making a copy of the Flat Rate module and renaming it. You would need to do the following: 1. Go to /modules/shipping/ and make a copy of the Flat_Rate folder. Rename the copy to "Express_Post". 2. In the Express_Post folder open config.xml in a code editor. Change the line <uid>[email protected]</uid> to <uid>[email protected]</uid> and change <name><![CDATA[Flat_Rate]]></name> to <name><![CDATA[Express_Post]]></name> 3. In the file /Express_Post/shipping.class.php change the line class Flat_Rate { to class Express_Post { 4. In the file /Express_Post/language/module.definitions.xml change the line <group name="flat_rate"> to <group name="express_post"> and change <string name="module_title"><![CDATA[Flat Rate]]></string> to <string name="module_title"><![CDATA[Express Post]]></string> Edit the module description if you want to. 5. In the file /Express_Post/skin/admin/index.tpl change <div id="Flat_Rate" class="tab_content"> to <div id="Express_Post" class="tab_content"> and change <p>{$LANG.flatrate.module_description}</p> to <p>{$LANG.express_post.module_description}</p> You should now have both Flat Rate and Express Post shipping modules in your admin dashboard. This works VERY well - thanks for the post - I have made 2 extra options for my site. (Pickup/Store Delivery within 10kms) Quote Link to comment Share on other sites More sharing options...
Guest cdorling Posted January 8, 2012 Share Posted January 8, 2012 Hallo I followed this useful tip, and new postage options did indeed pop up in Admin, and I could set price, give a name, give green tick, save etc. But when it comes to placing an order, the new postage method(s) I set up unfortunately don't appear. I've checked that the coding changes I madeare correct, and the fact it's showing in Admin means that I've uploaded it properly. Before I check again, has anyone else got a new postage option showing as an option in the basket whilst ordering? And/or is there one particular coding change thats specific to the basket that I need to treble check? Thanks, Chris Quote Link to comment Share on other sites More sharing options...
Guest Viola Posted January 9, 2012 Share Posted January 9, 2012 Hi Chris, I double-checked my instructions and it all worked - the copy of flat rate showed up in the shopping cart. Do you have any Allowed Zones set up? If so try removing them to see if that's causing the issue. I don't think caching would be the problem, but you can try disabling it just to eliminate that possibility. The only other possibility I can think of is if you have a typo somewhere in the edits. If the problem isn't Allowed Zones or caching, could you post the edited lines from your module. Quote Link to comment Share on other sites More sharing options...
Guest cdorling Posted April 14, 2012 Share Posted April 14, 2012 It's taken me a while to get back, but alls working now - I hadn't used identical spelling for my new postage type throughout. Great 'tweak'. Quote Link to comment Share on other sites More sharing options...
ClaireWalters Posted January 3, 2013 Share Posted January 3, 2013 This was great info! thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.