Jump to content

[SOLVED..partially] shipping cost: out of range behavior (always wrong)


Recommended Posts

hello everyone,

i tried several things and read several post but still i didn't find a solution!

info : prestashop 1.7.8.7

created shipping to canada named TSHIRT CANADA

tshirt weight 1kg ( not real weight but what i need to set the behaviour )
from 0kg to 1kg cost 9 EURO 

from 1kg to 2 kg cost 14 euro 
(1 tshirt shipment cost 9 euro; 2 thisrt shipment cost 14 euro)
When i BUY if i select ONLY 1 tshirt the behavior choosen by system is:

APPLY THE COST of THE HIGHEST defined range  ... which in this case is the cost of 2 tshirt but shouldn't be !

I add 2 pictures, thank you for your help !

 

prestashop_out_range2.jpg

prestashop_out_range.jpg

Edited by simirome (see edit history)
Link to comment
Share on other sites

i reply to myself ..

i checked again the WEIGHT of the product and it's 1kg  

and than i made another test with a TEST shipment

instead of having a range of 0.000kg to  1.0kg

i changed it from 0.000 to 1.3kg

second range was from 1.0 to 2kg

i CHANGED it from 1.3 to 2.6

 

and now it works !!!!!!!!!!! If i select one TSHIRT i get the shipment cost for one tshirt, if i choose 2 tshirts i get the correct shipment cost for 2 tshirts!

What could be the issue? i controlled again and tshirt weight is set to 1kg ..

at the moment i'm " happy " but for sure i'd like to understand which parameter is wrong and how to avoid this kind of turnaround for the next items

thank you

 

Link to comment
Share on other sites

  • simirome changed the title to [SOLVED..partially] shipping cost: out of range behavior (always wrong)
On 2/22/2023 at 9:40 AM, idnovate.com said:

Please pay attention to the operators.

The first range was from >= 0kg to < 1kg, NOT <= 1kg, and the second range was from >= 1kg to < 2Kg. So 1Kg was returning the second range.

not sure it's a glitch or a bug but if i jsut give the range as you suggested it still gives me the second range !

maybe there is another field to change but is partially solved only if i put weight as showed above !

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...