nicksey Posted January 17, 2012 Share Posted January 17, 2012 Hello I am fairly new to Prestashop but have had a site up and running on the standard theme without problems for 6 months now. It has now just started to have a problem. My shop is UK based and is in UK pounds. All products weigh the same (1600gr) The default shipping option is called Mainland UK and is set to Zone Europe This shipping option has 4 weight ranges. The products weigh 1600gr each and the weight ranges are 0-1600gr 1601-3200gr 3201-4800gr 4801-6400gr Each weight range has a different shipping price increasing in price as the weight increases. The store is set in localization to weight = gr The problem is that now whenever an item is placed in the cart the highest price is automatically selected. The weight for one item is 1600gr so is not out of range but it always selects this highest price regardless of what I do. If I set the out of range behaviour to 'Disable Carrier' then it disables the carrier as soon as a product is put in the cart. I have tried creating a new shipping option and making it the default but it still does it. I have created a new product and it still does it.For some reason it thinks that all of my products are 'out of range' when they clearly are not. Can anyone offer any advice. Link to comment Share on other sites More sharing options...
Dave L Posted January 17, 2012 Share Posted January 17, 2012 The problem you have is with your weight ranges. They have gaps in them. They should look like this: 0-1600gr 1600-3200gr 3200-4800gr 4800-6400gr Weight ranges are inclusive/exlusive which basically means: From and including value 1, up to but excluding value 2, from and including value 2, up to but excluding value 3. In your case it is: From and including 0, up to but excluding 1600gr, from and including 1601gr up to but exluding 3200gr, from and including 3201gr up to but excluding 4800gr, from and including 4801 up to but excluding 6400gr. By having these gaps you have actually excluded all of your products from any of the weight ranges resulting in the error. Link to comment Share on other sites More sharing options...
tdr170 Posted January 18, 2012 Share Posted January 18, 2012 You can also add a .1 to any of the ranges if your products are exactly lets say 1600g Like This: 0 - 1600.1 1600.1- 4800.1 4800.1 - 6400.1 In this way of ranging your weights there are no gaps and you can have a weight of 1600g. If you do not add the .1 to your weights a product that is 1600g will actually end up in the 1600 - 3200 gram range because of the inclusive/exclusive way Prestashop see's the weight ranges. The other option would be to use 1599g to have the product in the 0-1600g range the choice is yours. Hope this helps! 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