JorgeTeixeira Posted December 20, 2013 Share Posted December 20, 2013 Hello. I am trying to program "zone rates" module for some couple of days and I am facing some issues. At first, I thought it was strange that if I set, for example, 50:1 200:4, for that unit range, the system would charge the double ($2, $8) everytime. Now I realize that it is working by ranges, but some sort of correlation inside of ranges (sorry, but I can't describe it better). For instance, taking the previous example, if I had a product of 150 units, the system charges $3!!! (50 x 3). Anyone had this problem? I didn't make any change in this files, except the shipping module where I changed to "3" - I want to use 3 different zones. Thanks Link to comment Share on other sites More sharing options...
burt Posted December 20, 2013 Share Posted December 20, 2013 I would =guess= that the system is splitting the order into more than 1 package. This is a setting in admin, under configuration > shipping (I think) Link to comment Share on other sites More sharing options...
JorgeTeixeira Posted December 20, 2013 Author Share Posted December 20, 2013 In Configuration there is "shipping/packaging" and inside of that there is "package tare weight" and "larger packages - percentage increase". Should I put "0" on both? Link to comment Share on other sites More sharing options...
burt Posted December 20, 2013 Share Posted December 20, 2013 Try it, report back. Link to comment Share on other sites More sharing options...
JorgeTeixeira Posted December 20, 2013 Author Share Posted December 20, 2013 Did it. Well, it changed a little bit the price, but the overall situation remais the same. :( Link to comment Share on other sites More sharing options...
♥joli1811 Posted December 20, 2013 Share Posted December 20, 2013 check again how the zone rates should look are you maybe missing a comma there Example Geo Zone 1 Shipping Table 1 01:3.00,50:3.00,100:3.0,101:3.75,151:5.00, etc ......1500:45.00 Regards Joli To improve is to change; to be perfect is to change often. Link to comment Share on other sites More sharing options...
JorgeTeixeira Posted December 20, 2013 Author Share Posted December 20, 2013 Thanks for replying. I already double checked that a couple of times. For instance, right now I have 20:0.35,50:0.60,100:0.65,250:1.2,500:2 and I have a shipping of $1.80 for a produt of 110 units. (w00t) Link to comment Share on other sites More sharing options...
Chris H Posted December 20, 2013 Share Posted December 20, 2013 No, burt is referring to admin > Configuration > Shipping/Packaging > Enter the Maximum Package Weight you will ship Just for a test, change the '50' to something astronomic like 999999. Your 110 kg order is being split over 3 packages, because 100 < 110 < 150 And because of your '50:0.60' the charge is $0.60 each, which is where the $1.80 comes from. Link to comment Share on other sites More sharing options...
♥joli1811 Posted December 20, 2013 Share Posted December 20, 2013 @@Chris H sitting with my calculator trying to work out where it was coming from hahah so sounds good :thumbsup: To improve is to change; to be perfect is to change often. Link to comment Share on other sites More sharing options...
JorgeTeixeira Posted December 20, 2013 Author Share Posted December 20, 2013 Chris, you are the boss! :D I can't believe how much time I spent just because of that setting. I did a quick test now and everything looks great. I will make a few more tests later, but it looks fine now! :) Thanks everyone! :thumbsup: Link to comment Share on other sites More sharing options...
JorgeTeixeira Posted December 20, 2013 Author Share Posted December 20, 2013 Now the module is working fine. o:) Two last questions about it... when a costumer checkouts and choose the shipping method he sees "zone rate" and below "XPTO LB(s)". I would like to know where can I change both names. Is it on the languages files in: - define('MODULE_SHIPPING_ZONES_TEXT_TITLE', 'Zone Rates'); - define('MODULE_SHIPPING_ZONES_TEXT_UNITS', 'lb(s)'); If so, can I change without problem to "registered mail" and "Kg" without any problem? Link to comment Share on other sites More sharing options...
JorgeTeixeira Posted December 20, 2013 Author Share Posted December 20, 2013 Yes, I can. :) Link to comment Share on other sites More sharing options...
JorgeTeixeira Posted December 21, 2013 Author Share Posted December 21, 2013 Actually, I still have one more question! :D After selecting the shipping more, there is the following message and the price. Shipping to AD : 40.5 g(s) €1.20 Where can I change the color of the font and the background? I am not finding anything about this part in the css file. Thanks. Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted December 21, 2013 Share Posted December 21, 2013 The data is passed out from zones.php, on the version I am looking at the code is on line 142. $shipping_method = MODULE_SHIPPING_ZONES_TEXT_WAY . ' ' . $dest_country . ' : ' . $shipping_weight . ' ' . MODULE_SHIPPING_ZONES_TEXT_UNITS; HTH G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
JorgeTeixeira Posted December 21, 2013 Author Share Posted December 21, 2013 Thanks Geoffrey, but I still don't know how to identify that part in the css file. What's the code that I have to insert in order to do it? Thanks Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted December 23, 2013 Share Posted December 23, 2013 Have a look in the zones.php file to find the div or other wrapper that can be used to specify which font/background to be used. Then once you know that youcan either edit the relevant section in the css or add new sections. HTH G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.