bozhenko Posted January 26, 2006 Posted January 26, 2006 Hello to everybody. I have a request - There's no shipping module that would work for Russia - I've searched all through Russian community on forums.oscommerce.ru - everybody speak about it, but nobody has working one (well, bunch of people say, I've got it work for me. When I ask them to share how they did it, or even offer them money for this info, they say, I'm not interested in sharing this - which only means they blaff about some module working for them). Can anybody help me here? I have all the info and ready to explain how Russian Post works, but I am not a php-programmer - let's fix the problem together! osCommerce is really good engine, but seems foolish that nobody has anything working yet... Thanks. Quote
bozhenko Posted January 26, 2006 Author Posted January 26, 2006 Strange, I couldn't find any way to edit my post.... Anyway, by nobody has anything working yet I meant in regard of this particular task.And I guess I better explain what we are talking about here... Russia is so big that inside one country [iSO2] RU we have 6 mailing zones that are based on weight/zone table. I'd use standard zones module, but when I add 5 more zones to it, I face different problem - it requires ISO2 for each zone - well countries do not differ in our case - it's the same RU, but we need 6 subzones under RU... Quote
Guest Posted January 26, 2006 Posted January 26, 2006 You could have the same code name as the zone name. Like it is for spain in the default osc under the zones. Now when a customer creates an account in RU you could have a drop-down list selecting the province (instead of the type-in input box) thus forcing a selection of a valid province. Now for shipping & tax-zones, create Tax zone folders based on the tax-rate (not on the name of the province) and then within those folder you can select the country and zone to assign. This way you may have more than one provinces in effect been assigned to the same Tax Zone folder. Finally this Tax Zone folder will be the one to select for each of the shipping modules. (which you can also duplicate). So instead of fedex or UPS you rename the shipping module to Russian Post-x or something, where x is the different shipping module for each group of zones or each zone. Then, the osc code based on the customer's delivery address will automatically pickup the correct shipping module for you and display it to the customer (it does that already). The only real coding you need to do is to duplicate existing shipping modules for the russinan post and assign some default rates. The rest should be just osc configuration. Quote
bozhenko Posted January 29, 2006 Author Posted January 29, 2006 You could have the same code name as the zone name. Like it is for spain in the default osc under the zones. Now when a customer creates an account in RU you could have a drop-down list selecting the province (instead of the type-in input box) thus forcing a selection of a valid province. Well, you're speaking as to the one, who is really good in osCommerce, let's break it down: I go to Admin screen and from there I go to Locations/Taxes There I see Countries, Zones, Tax Zones, Tax Classes, Tax Rates In countries I have Russian Federation with ISO2=RU and ISO3=RUS. At first I thought that I need to have 6 RU, so all of `em are RU[iSO2] but as for ISO3 they are RU1, RU2, RU3 and so on. Is this what you are talking about? (I can't see what you're saying about Spain - in my store I see only Ex-SU counties, probably all the rest was cut off somehow). As for valid province - I do have drop down list for that. Now for shipping & tax-zones, create Tax zone folders based on the tax-rate (not on the name of the province) and then within those folder you can select the country and zone to assign. This way you may have more than one provinces in effect been assigned to the same Tax Zone folder. Finally this Tax Zone folder will be the one to select for each of the shipping modules. (which you can also duplicate). So instead of fedex or UPS you rename the shipping module to Russian Post-x or something, where x is the different shipping module for each group of zones or each zone. Ok, I have 6 tax-zone folders, all named RU, but what do you mean "based on tax-rate"? In those folders I have list of province names, that are rated for zone1, then other one for zone 2 and so on... How can I put a tax-rate there, if the shipment price depend on the weight too? Or I missunderstood something? Then, the osc code based on the customer's delivery address will automatically pickup the correct shipping module for you and display it to the customer (it does that already). The only real coding you need to do is to duplicate existing shipping modules for the russinan post and assign some default rates. The rest should be just osc configuration. Some more from here on - do you mean I need to have zones.php, zones2.php and so on? And then assign one rate to each file in Admin panel? Thank you for your help! Quote
Guest Posted January 30, 2006 Posted January 30, 2006 I go to Admin screen and from there I go to Locations/TaxesThere I see Countries, Zones, Tax Zones, Tax Classes, Tax Rates The first one is countries. There you need the 6 zones. So for example they will be |Country|Zones|Code| Russia|Zone-Name1|Zone-Code1 Russia|Zone-Name2|Zone-Code2 Russia|Zone-Name3|Zone-Code3 Russia|Zone-Name4|Zone-Code4 Russia|Zone-Name5|Zone-Code5 Russia|Zone-Name6|Zone-Code6 As for valid province - I do have drop down list for that.Ok, I have 6 tax-zone folders, all named RU, but what do you mean "based on tax-rate"? In those folders I have list of province names, that are rated for zone1, then other one for zone 2 and so on... How can I put a tax-rate there, if the shipment price depend on the weight too? Or I missunderstood something? Then you click Tax Zones and you create a number of folders such that each folder is dedicated for a tax-rate. So for example Zone-Name1 and Zone-Name5 have the same tax 6%, You create one folder in Tax Zones called 6Percent for instance. Then you double-click the folder and you will end up in the Tax-Zones details. There you click insert, you select the country (Russia and the Zone-Name1). You repeat for Zone-Name5. Now both of these zones are under the 6Percent folder. Now when you goto the modules->shipping and select a module and edit it, you can assign a shipping zone to it. So you assign the 6Percent. That 6Percent now covers both the zone1 and zone5 you see. Since most of the shipping modules allow just one zone folder in effect to be assigned you could duplicate them. So yeas I meant zones.php and zones2.php Unfortunately the zones code itself needs some modifications to pick up the zone folder instead of having this edit box where you type the country codes. Pretty much like most of the other shipping modules. Quote
bozhenko Posted January 30, 2006 Author Posted January 30, 2006 (edited) The first one is countries. There you need the 6 zones. So for example they will be|Country|Zones|Code| Russia|Zone-Name1|Zone-Code1 Russia|Zone-Name2|Zone-Code2 Russia|Zone-Name3|Zone-Code3 Russia|Zone-Name4|Zone-Code4 Russia|Zone-Name5|Zone-Code5 Russia|Zone-Name6|Zone-Code6 Then you click Tax Zones and you create a number of folders such that each folder is dedicated for a tax-rate. So for example Zone-Name1 and Zone-Name5 have the same tax 6%, You create one folder in Tax Zones called 6Percent for instance. Then you double-click the folder and you will end up in the Tax-Zones details. There you click insert, you select the country (Russia and the Zone-Name1). You repeat for Zone-Name5. Now both of these zones are under the 6Percent folder. Now when you goto the modules->shipping and select a module and edit it, you can assign a shipping zone to it. So you assign the 6Percent. That 6Percent now covers both the zone1 and zone5 you see. Since most of the shipping modules allow just one zone folder in effect to be assigned you could duplicate them. So yeas I meant zones.php and zones2.php Unfortunately the zones code itself needs some modifications to pick up the zone folder instead of having this edit box where you type the country codes. Pretty much like most of the other shipping modules. Sorry for being so ignorant, but we have the same tax in all 6 zones, the zones are differrent, because we do NOT live by flat rate - I believe I mentioned in the very beginning in my question - the table is weight x distance... How about that? There's no reason for going through Tax Rate, or am I wrong? Edited January 30, 2006 by bozhenko Quote
Guest Posted January 30, 2006 Posted January 30, 2006 The tax zones also cover the shipping. The tax classes and tax rates are for the tax. But the tax zone folder is used by the shipping module when you assign a shipping zone. So the reason you set it up like this if you had a customer with delivery from germany say, that shipping option for russia would not come up. So we are not talking about the tax. Now if you had all the provinces under the same tax zone folder a single shipping module would be sufficient to cover all six. You could setup your table rate within the shipping module to assign different prices based on the zone of delivery and weight parameters. Quote
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.
Note: Your post will require moderator approval before it will be visible.