• Resolved parousiapress

    (@parousiapress)


    Hi,

    This plugin is great—so far, it has done everything I need it to quickly and easily. Right now, I have a rule set up for a specific type of shipping: any items in a single shipping class up to 16oz in weight. However, I need the option to abort once the items in the cart total more than 16oz in weight.

    I set up shipping where rule #1 is a max weight of 16oz AND in the shipping class, followed by a rule #2 where a minimum weight of 16oz produces the special action to abort the option. However, when I test it with items (https://parousiapress.com/product/floral-cross-notecards/ weight: 4oz) in the cart, the shipping option still is being offered when the weight of the shipment is well over 16oz.

    Obviously I am missing something, so I would really appreciate your help!

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author wp-centrics

    (@wpcentrics)

    Hi @parousiapress, if I understand you well, all is put in his place… please, activate the log system of the shipping method (in the bottom of the method), go to cart and change some product quantity (or add/remove) to force re-calculation (WC has a cache if no product changes in the cart). After that, go again to the shipping method, reload page if not appears, and paste the log here in a reply.

    …can do you add also a screenshot of the table rules? (you can use https://imgbb.com/ or any other service)

    Thanks,
    Carles
    wp-centrics support team

    Thread Starter parousiapress

    (@parousiapress)

    Hi Carles,

    Thank you for your help! I have done as you asked (I recalculated the cart twice, just to be sure it logged it). Here are screenshots of the rules, as well as what I am seeing in the cart after updates. The First Class option shouldn’t appear with either of these carts:
    https://ibb.co/1Q3sKdx
    https://ibb.co/tQQPQXV
    https://ibb.co/K72xCNr

    And here is the log:

    Starting Fish and Ships (free) calculation, for method: [First Class Package (3 days)]. Instance_id: [30], Local time: [2020-05-29 08:08:23]
    Fish and Ships version: [1.1.0], WP: [5.4.1], WC: [4.1.1], Multilingual: [NO], Multicurrency: [NO]
    Rule #1
    Check matching selection. Method: [by-weight], Group-by: [none], min: [], max: [16]
    . Ungrouped, calculate: #1244 Floral Cross & Many Years Notecards (4 * 1 [forced]) accumulated: 4
    Currently matching products (accumulated checkings result):
    Non-grouped > items: 1
    . Floral Cross & Many Years Notecards (5)
    Check matching selection. Method: [in-class], Group-by: [none] (This method can’t be grouped), classes: [129]
    . Ungrouped, checking: #1244 Floral Cross & Many Years Notecards, result: [TRUE]
    Currently matching products (accumulated checkings result):
    Non-grouped > items: 1
    . Floral Cross & Many Years Notecards (5)
    Calculated rule #1 cost: $12.00
    Rule #2
    Check matching selection. Method: [by-weight], Group-by: [none], min: [16], max: []
    . Ungrouped, calculate: #1244 Floral Cross & Many Years Notecards (4 * 1 [forced]) accumulated: 4
    Currently matching products (accumulated checkings result):
    Non-grouped > items: 0
    No product matches for this rule
    Rule #3
    Check matching selection. Method: [in-class], Group-by: [none] (This method can’t be grouped), classes: [130]
    . Ungrouped, checking: #1244 Floral Cross & Many Years Notecards, result: [FALSE]
    Currently matching products (accumulated checkings result):
    Non-grouped > items: 0
    No product matches for this rule
    Force maximum cost: 6
    FINAL COST: $6.00 [non-taxable]
    Usage on calculation: Memory: [12.2KB], DB queries: [0], Time elapsed: [0.0021 sec.]

    Thank you!

    Plugin Author wp-centrics

    (@wpcentrics)

    Hi @parousiapress, please, change the option:

    Group by [for all selectors]

    to:

    All grouped as one

    …this should solve it. To clarify how it works: if you leave the group-by option as no grouping, every product is analized separately, and only a +16oz weight product will trigger the abort special action.

    You can read about here: https://www.wp-centrics.com/help/fish-and-ships/product-cart-grouping

    Please, give me feedback about,
    Carles.

    Thread Starter parousiapress

    (@parousiapress)

    Yes, it worked!

    You are our hero! It’s been such a struggle to find a shipping plugin that would let us do this. Thank you for your help and for the plugin!

    Plugin Author wp-centrics

    (@wpcentrics)

    Glad to help! ??

    Carles
    wp-centrics support team

    Thread Starter parousiapress

    (@parousiapress)

    Hi Carles,

    Me again! We have added a bundled product to the shop, and for whatever reason it isn’t triggering the correct shipping calculation. I have uploaded a screenshot of the rule and have pasted the log for you below:

    https://ibb.co/f47V8vB

    Starting Fish and Ships (free) calculation, for method: [Priority (2 days)]. Instance_id: [33], Local time: [2020-05-31 11:20:13]
    Fish and Ships version: [1.1.0], WP: [5.4.1], WC: [4.1.1], Multilingual: [NO], Multicurrency: [NO]
    Rule #1
    Check matching selection. Method: [by-price], Group-by: [all], min: [], max: [69]
    Grouped [all] calculating: [by-price]
    + #5067 2021 Orthodox Planner Bundle (0 * 2) accumulated: 0
    Currently matching products (accumulated checkings result):
    all > > items: 1
    . 2021 Orthodox Planner Bundle (2)
    Calculated rule #1 cost: $7.75
    Rule #2
    Check matching selection. Method: [by-price], Group-by: [all], min: [70], max: [102]
    Grouped [all] calculating: [by-price]
    + #5067 2021 Orthodox Planner Bundle (0 * 2) accumulated: 0
    Currently matching products (accumulated checkings result):
    all > > items: 0
    No product matches for this rule
    Rule #3
    Check matching selection. Method: [by-price], Group-by: [all], min: [103], max: [280]
    Grouped [all] calculating: [by-price]
    + #5067 2021 Orthodox Planner Bundle (0 * 2) accumulated: 0
    Currently matching products (accumulated checkings result):
    all > > items: 0
    No product matches for this rule
    FINAL COST: $7.75 [non-taxable]
    Usage on calculation: Memory: [7.2KB], DB queries: [0], Time elapsed: [0.0004 sec.]

    The product cost is $41.40 (which makes the total for the cart $82.80), but the shipping is being calculated for wrong price group. Help? Thank you!

    Plugin Author wp-centrics

    (@wpcentrics)

    Hello again! ??

    Please, can open a new topic with this issue?

    …out of the box, WooCommerce group products but in the log it appears as separate elements, are you using some bundle plugin? (please, answer this in the new topic)

    Thanks,
    Carles.

    Plugin Author wp-centrics

    (@wpcentrics)

    The new issue about bundled products is covered here:
    https://www.ads-software.com/support/topic/rule-not-triggering/

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Weight-Based Shipping that Self Destructs?’ is closed to new replies.