Jump to content

Shipping logic


Recommended Posts

Hi all,

 

I have a question about the shipping logic. Maybe it's my misunderstanding, but I hope someone can shed some light on this issue.

 

I have a carrier with a set dimension maximum 100x50x50 and a weight maximum 10kg.

For each product I've set the packing dimensions under the shipping tab of the product page.

For example 40x40x40 and 6 kg.

 

When I add this product to my cart, it fits the set dimensions of the carrier, and it shows up in step 5 of the order process.

 

Now when I add TWO of these items to my cart it should exceed the shipping criteria by dimensions and weight. This doesn't happen and I can still add two of these items to my cart and still pay shipping only once.

 

Yesterday a customer ordered 8 items, each of them individually fitting the shipping criteria, total however far exceeding the maximum shipping dimensions and weight.

 

How can I resolve this?

 

Thanks in advance!

Link to comment
Share on other sites

Thanks for your reply. It got me to change the "out-of-range-behavior" so I've now got it working on weight, but it is still ignoring dimensions. So one part of the puzzle solved, now it must hide the carrier when the dimension of 2 products combined is to large for the carrier.

 

I've attached my shipping config as images. Sorry that the labels are in Dutch

 


Servergegevens
Servergegevens: Linux #1 SMP Thu Feb 9 12:45:44 EST 2012 x86_64
Server softwareversie: Apache/2
PHP versie: 5.3.26
Geheugenlimiet: 128M
Maximale uitvoeringstijd: 30


Database informatie
MySQL versie: 5.0.51a-community
MySQL engine: InnoDB
Tabel prefix: ps_


Winkelgegevens
Prestashop versie: 1.5.6.0

post-618224-0-80645100-1382537777_thumb.png

post-618224-0-84547900-1382537788_thumb.png

post-618224-0-85207600-1382537795_thumb.png

post-618224-0-19212000-1382537805_thumb.png

Link to comment
Share on other sites

What is your out of range? Is it set to disable carrier? 

 

Yes, my out of range is set to: "Disable carrier". It is working now for weight (max is 10kg, 1 item is 6kg and is allowed, two items exceeds 10kg max and the carrier is gone). However it is not correctly checking the dimensions.

 

Thanks for your help

Link to comment
Share on other sites

You have also set up the dimensions within the actual product? If the total dimensions of the product is over your maximum dimensions, the carrier should not show up as available when you "disable carrier" when out of range behavior. 

 

That is correct, and that is working also. If one individual product exceeds the max dimensions of the carrier, the carrier is NOT shown in the carrier list which is the correct behavior.

 

However is 1 item small enough to fit the shipping criteria it should show the carrier, but when I add two of these items to my cart the carrier should not show up.

 

I'll give you the process flow of my current situation:

 

Carrier max dimensions: 100cm X 50cm X 50cm

 

Example one:

Item size 80cm x 60cm x 60cm -> item exceeds max carrier size -> NO carrier in list -> CORRECT

 

Example two:

Item size 30cm x 30cm x 40cm -> item within max carrier size -> carrier in list -> CORRECT

 

Example three:

Item1 size 30cm x 30cm x 40cm

Item2 size 30cm x 30cm x 40cm

total size 60cm x 60cm x 80cm -> itemS exceed max carrier size -> carrier in list -> NOT CORRECT 

 

Conclusion:

Prestashop doesn't accumulate the total packaging size of all items combined

Link to comment
Share on other sites

You have also set up the dimensions within the actual product? If the total dimensions of the product is over your maximum dimensions, the carrier should not show up as available when you "disable carrier" when out of range behavior. 

 

Do you have any more ideas after my latest post? Or any clue in what file the calculation is done. Maybe I can debug it myself.

Link to comment
Share on other sites

  • 4 weeks later...

Hi fsve,

did you solved your problem? I have very similar problem.

 

One of my carrier is set to calculate shipping cost according to total price:

 

order between 0€ - 15€ -> shipping cost 5€

order between 15€ - 99999€ -> shipping cost 0€

 

Out-of-range behavior is set to disable carrier

 

This part above is working perfectly.

 

Problem is with maximum package weight.  It's set to 30kg.

 

One product with weight over 30kg added to cart make this carrier disabled. Cool!

Two products in cart: first 15kg second 16kg -> Weight it's 31kg both products. Carrier is still enabled and customer can choose it.

 

Link to comment
Share on other sites

  • 2 months later...

Hi all. I just signed up to dig up this older question. The carrier Maximum package weight works like Slava said, pretty absurd to me. What's the point of having total weight ranges and per 1 product based maximum weight? Our carrier of course has a total package weight limit. Is there no way to tell Prestashop our carrier doesn't allow the total products weight >30kg ?? Any help would be appreciated, thanks.

Link to comment
Share on other sites

  • 9 months later...

This issue is also present in PS 1.6.0.8. If one product exceeds the Maximum package weight set under carrier settings then this carrier is disabled but when for example we have 3 products of 0.4kg each (total weight of 1.2kg) and the Maximum package weight is set to 1kg then this carrier will NOT be disabled.

This happens when billing is set to According to total price, Out-of-range behaviour is set to Disable carrier and Maximum package weight is set under carrier settings.

 

Is there a fix for this?

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

×
×
  • Create New...