nikmagnus Posted March 22, 2011 Share Posted March 22, 2011 I thought I had this nailed but needed to tweak things before getting it to work.I had a frustrating time, but Dave helped me with it.Here is what I did:I need to set up different postage rates to different states of Australia. I only want to ship to AU, no other country.I have gone through the steps below, but still get the message "There are no carriers available that deliver to this address." when ordering.I have separate zones for each state, and different rates depending on weight with the just one carrier. See screen shots.The hickup seemed with the zone for the country "australia" I needed to assign this to one of the state zones for this to work.If it doesnt work first time, try under the performance tab to set the no caching and force compile to see the changes come through. Dont forget to change this back shortly after, as it will slow things down heaps.I am using PS 1.4.0.171. Go to shipping tab in Back office.Under the county tab, inactivate all other countries except Australia. Easy to do if filter by enabled "yes" then just click the green tick to toggle it inactive.Click on australia, and make sure the Contain States field is active.Make sure Australia is your default country.2. Go to the zones tab.Create 8 new zones for each state and territory. Eg NSW Zone, VIC Zone. Exact names are not important, but I've used the word zone to make it clear that these are just zones.3. Go to States tab.Filter australian states by typing oceania in the zone. this is what my version of Prestashop came with, yours may be different. On each of the states, change the Zone, to the corresponding zone you setup in the previous section. IE Victoria will have VIC Zone attached to it.4. Go to carrier tab.Make a new carrier (NB I tried to modify the existing carrier and it wouldnt work, so better start with a fresh one), and include all your state zones in it.5. Go to Weight Ranges tab.Set up the weight ranges that apply to your carrier eg 0-2.99kg; 3-4.99kg etc...Asign each weight range to the carrier.6. Go back to the countires tab and adjust the zone of Australia to one of your state zones.6. Finally, go up to the main shipping tab. It will bring up the shipping preferences including fees by carrier, geographical zone and ranges.Select your carrier and you should be presented with all your states that you have active, and the weight ranges you have setup. If you wish to have a default as zero ie no postage if someone is picking it up from the shop, you need to still press "Save" for it to work.Good luck!Cheers, Nik Link to comment Share on other sites More sharing options...
rocky Posted March 23, 2011 Share Posted March 23, 2011 You've set up your ranges wrong! They should be overlapping ranges. For example, 0-4kg, 4-7kg, etc, not 0-3.99kg, 4-6.99kg, etc.Just in case you've misconfigured anything else, I'll run through everything you need to do. I'll use QLD as an example. Go to the Shipping > Zones tab and create a state called "QLD Zone", then go to the Shipping > States tab, edit the "QLD" state, then choose "QLD Zone" as the "Zone" for "QLD". Do this for all the states, then go to Shipping > Carriers, create a carrier and tick "QLD Zone" and any other zones that the carrier ships too. Go to the Shipping > Price ranges tab or Weight ranges (depending on whether you are using price-based or weight-based shipping), then create appopriate ranges. You can create a single range like 1-1000000 if you want the price to always be the same, no matter the price or weight. Once you've done that, go to the Shipping tab, select the carrier in the dropdown, then enter prices for each zone and range, then click Save. Once you've done this, any customer whose address has "Australia" as the country and has chosen a state should have the carrier displayed when checking out. If the address is missing the state, or the country is not "Australia", then it should display the "No carrier is available" message. Check also the "Out-of-range behavior" for the carrier. If it is set on "Disable carrier", then any order whose price or weight doesn't fit any of the ranges will display a "No carrier is available" error message. Change it to "Apply the cost of the highest defined range" if you want it to apply the highest range if none match.By the way, if you are only shipping in Australia, you may as well go to the Preferences > Geolocation tab and deselect every country except "Australia". That way, only Australians can see your site. If you want other countries to be able to see your site, but not be able to order, you can change "Geolocation behavior for restricted countries" to "Visitors can see your catalog but can't make an order". Link to comment Share on other sites More sharing options...
nikmagnus Posted March 23, 2011 Author Share Posted March 23, 2011 Hi Rocky,Thanks for your help.I checked everything as you specified and it still wont work.Can you check the screen shots for me and see what's still missing?appreciate your help. Link to comment Share on other sites More sharing options...
nikmagnus Posted March 23, 2011 Author Share Posted March 23, 2011 some more screen shots. Link to comment Share on other sites More sharing options...
rocky Posted March 23, 2011 Share Posted March 23, 2011 I can't see any problems with that configuration, though I do notice that you are not using the final version of PrestaShop v1.4, since only one step is displayed at a time and there are "Continue" buttons. PrestaShop v1.4 displays all the steps at once. I suggest upgrading to PrestaShop v1.4 final. If that doesn't work, I can't help any more without actually debugging your code. Link to comment Share on other sites More sharing options...
nikmagnus Posted March 23, 2011 Author Share Posted March 23, 2011 Thanks Adrian.I'm using PS 1.4.0.17. That's what my back end says anyhow. PrestaShop™ 1.4.0.17Load time: 12.019s | Contact | Bug Tracker | Forum The checkout page doesnt reload the page when pressing continue button, it just accordions up the next bit.Isnt that the way it should look?I checked out the latest PS1.4 and it is v 1.4.0.17How can I get you to debug this?I have an urgernt deadline to get the shop up by the 27th and have been busting my guts getting everything done.It's still on local host, but ready to upload tonight.Thanks for your advice so far.Finding this very frustrating. Link to comment Share on other sites More sharing options...
rocky Posted March 23, 2011 Share Posted March 23, 2011 You must be using a theme from an earlier version of PrestaShop v1.4. Here's a screenshot of the one-page checkout in PrestaShop v1.4.0.17. Notice that an accordion is not used. There are no continue buttons. All steps are displayed expanded at the same time. Link to comment Share on other sites More sharing options...
nikmagnus Posted March 23, 2011 Author Share Posted March 23, 2011 Hi Adrian,I just spent a couple of hours building a new shop on my localhost.Using the default products and the prestashop default theme.I setup two carriers, same as we'd done above. One to pickup form store, the other TNT express.Different weight ranges, different prices per state.The first time I went to checkout, I saw the TNT express but not the pickup from store option, although the address was in the state of tasmania, and the pickup is in the TAS zone.I went and adjusted the carrier to include handling, and after saving since then I have the dreaded"There are no carriers available that deliver to this address."This is a fresh install of 1.4.0.17I am pulling out hair in tufts! What can I do? Link to comment Share on other sites More sharing options...
nikmagnus Posted March 23, 2011 Author Share Posted March 23, 2011 Rocky,I've noticed that when I update the carrier settings, it saves it as a new ID.I'm wondering if PS is keeping the previous settings and they are accumulating.I found weird behaviour with the two preset settings, in that one couldnt remove the Europe and one other Zone from the carrier and the only way to make it work was to delete it and start afresh. Could this be a clue to the problem?ADDIT: I used phpMyAdmin to delete the carrier ID references on PS_ carrier, ps_carrier_group, ps_carrier_lang, ps_carrier zone NO JOY. Cheers, Nik Link to comment Share on other sites More sharing options...
rocky Posted March 23, 2011 Share Posted March 23, 2011 Whenever you edit a carrier, a new carrier is created with a new ID. That is by design, so that existing orders retain the old carrier information. I don't think that would be causing this issue, but I suppose it is possible. Link to comment Share on other sites More sharing options...
nikmagnus Posted March 29, 2011 Author Share Posted March 29, 2011 Basically, I gave up on my prestashop.I started again.New database, new theme, everything new.I set up the shipping as above with two things different:Selected Australia country as one of the state zones.And under the shipping tab, pressed on save with the pickup from store, which defaults to $0, but still needs you to press the save button. Link to comment Share on other sites More sharing options...
epifan29 Posted April 4, 2011 Share Posted April 4, 2011 Has this bugged been fixed yet or is there is workarround? i am getting the exact same errors as previous members and using the final, latest presta. I am using the default "My Carrier" to set it up. Link to comment Share on other sites More sharing options...
cool cellphone case Posted April 13, 2011 Share Posted April 13, 2011 You've set up your ranges wrong! They should be overlapping ranges. For example, 0-4kg, 4-7kg, etc, not 0-3.99kg, 4-6.99kg, etc.". i have same problem after update to final, if we set the weight range 0-4kg 4-7kg then what the shipping cost would be when the weight is 4kg? Link to comment Share on other sites More sharing options...
rocky Posted April 13, 2011 Share Posted April 13, 2011 As written below the text fields, the first number is included and the second number is excluded, so 4kg would go in the 4-7kg range. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now