Support » Plugin: Fish and Ships - WooCommerce shipping table rate. The most flexible shipping method » Is it possible to set up those shipping prices ?

• Hello,

I’m trying your plugin, it’s nice !

Is it possible to do this with it ? For now I did not success to do it

– Delivery is possible only if each products in the cart is less/equal than 300cm
– Price is based on cart weight AND dimensions :

from 0 to 4.99kg = xx€, from 5 to 9.99kg = yy€ etc.

At least 1 product in the cart is from 200.01cm to 300cm
from 0 to 4.99kg = zz€, from 5 to 9.99kg = ww€ etc.

There is no sum, no highest cost, no lowest cost, just 1 rule for each range of cart weight/dimensions
No product individual weight, only total cart weight

I tried:
Rule 1: Weight 0-5kg, dimensions 0-200cm : 5€
Rule 2: Weight 0-5kg, dimensions 200-300cm : 10€
Rule 3: Weight 5-10kg, dimensions 0-200cm : 15€
Rule 4: Weight 5-10kg, dimensions 200-300cm : 20€

For a 8kg cart with 200cm products and 300cm products, the plugin takes rules 1 and 2, instead of rule 4

So I found “Group by all grouped as one”, but then, a message appears on each rule : “[This method can’t group cart items and it will be compared one by one]”

Many thanks
Kind regards

• This topic was modified 2 months, 3 weeks ago by Doobeedoo.
Viewing 5 replies - 1 through 5 (of 5 total)
• Plugin Author wpcentrics

(@wpcentrics)

Hi, @doobeedoo, thanks… sure, It’s possible… 🙂

First, set the group-by option to “All grouped as one” (don’t worry, size products will be compared one by one)

Then, we need a first rule to abort shipping when some product has 300+ size:

Rule #1: WHERE Max Dimension, Min: > 300, Max: 0 (no limit), special action: Abort Shipping method.

For the rest of the cases, we will create a rule for everyone, mixing two conditions: size AND weight. First we need to put the +200 cases, with an special action to skip the next ones. Why? Because a long product + small product will fulfull also the rules for small products, and we won’t it.

Rule #2:
WHERE Max Dimension, Min: > 200, Max: 0
AND Weight, Min: 0, Max: < 5
Price: zz€
Special Action: Stop (ignore below rules)

Rule #3:
WHERE Max Dimension, Min: > 200, Max: 0
AND Weight, Min: >= 5, Max: < 10
Price: ww€
Special Action: Stop (ignore below rules)

(as many ranges as needed, for big products)

Rule #10:
WHERE Max Dimension, Min: <= 200, Max: 0
AND Weight, Min: 0, Max: < 5
Price: xx€
(special action don’t needed anymore)

Rule #11:
WHERE Max Dimension, Min: <= 200, Max: 0
AND Weight, Min: >= 5, Max: < 10
Price: yy€

====

And that’s all…

If something doesn’t works as expected, please, activate the log system on the bottom of the screen, force recalculate changing the cart, and paste here the expanded log report.

Kind regards,
Carles Martin
wp-centrics support team

(@doobeedoo)

Hi Carles,

Happy to see that this is possible with your plugin

You write:
Rule #10 & #11:
WHERE Max Dimension, Min: <= 200, Max: 0

But there is no “Min: <= 200”, it’s ‘>’ or ‘>=’

So, as > 300 is managed by rule #1, and >= 200 is managed by rules #2 & #3, I tried this:

https://i.imgur.com/7X6zIkB.png

With a 9kg order, and it fails, it triggers rule #2 which is 0 to 5kg:

https://i.imgur.com/RWBD4rU.png

How to solve this ?
Many thanks

Plugin Author wpcentrics

(@wpcentrics)

Hi, @doobeedoo

About Rule #10 and #11, you’re right… don’t needed, and in any case should be on max, not min.

In my previous reply, I make a mistake, sorry… there isn’t possible as I said, because the size comparation exclude products for total weight comparison.

With Pro version, it’s easy, because you can put conditional jumps (skip N rules), etc. However, it can be also done with free, a bit complex, but I think can be done in this way:

Through two shipping methods, not one. Don’t worry about, never the two will be offered at the same time: One for short products only (0-200) and another one when at least we have one long product (+200-300)

For short products only:
========================

Rule #1: WHERE Max Dimension, Min: > 200, Max: 0 (no limit), special action: Abort Shipping method.

Rule #2: WHERE Weight, Min: 0, Max: < 5, Price: xx€

Rule #3: WHERE Weight, Min: >= 5, Max: < 10, Price: yy€

For at least one long product:
==============================

Rule #1: WHERE Max Dimension, Min: > 300, Max: 0 (no limit), special action: Abort Shipping method.

Rule #2: WHERE Weight, Min: 0, Max: < 5, Price: zz€

Rule #3: WHERE Weight, Min: >= 5, Max: < 10, Price: ww€

(and at the end of the rules/ranges):

Rule #4: WHERE Max Dimension, Min: > 200, Max: 0 (no limit), special action: Stop (ignore below rules) [this will skip the abort of #5 if at least one long product it’s on cart]

Rule #5: WHERE Always, abort shipping method

PD: Name different the shipping methods for testing
PD2: If you need to do much ranges, use export/import from the first one to the second one, to save your time, then change the exclusion rules after that.

Kind regards,
Carles

(@doobeedoo)

Hi Carles,

https://i.imgur.com/32Y0Utf.png

Kind regards

Plugin Author wpcentrics

(@wpcentrics)

Hi @doobeedoo, as you are configured the long products shipping method, if there is also a short on cart (long+short) the short product will abort the shipping method, and we won’t it!

…to prevent this, we need to skip the abort special action if at least there is one long product on cart. Must be done at the end, after setting shipping rates:

Rule #4: WHERE Max Dimension, Min: > 200, Max: 0 (no limit), special action: Stop (ignore below rules) [this will skip the abort of #5 if at least one long product it’s on cart]

Rule #5: WHERE Always, abort shipping method

…it’s a bit confusing/complicated, I know, but we would need some features of Pro to achieve this in a more clear way… but at end, can be made with free 🙂

Regards,
Carles

• This reply was modified 2 months, 3 weeks ago by wpcentrics.
Viewing 5 replies - 1 through 5 (of 5 total)
• You must be logged in to reply to this topic.