• Resolved wandw1

    (@wandw1)


    Hi, I’m struggling to get my free shipping working correctly.

    I’m using the free version of Fish and Ships.

    I have set up free shipping as an option for certain products under Shipping Classes. This seems to be working well, but if someone also puts an item in the cart that is one of the paid shipping items, then the option comes up for free shipping or paid shipping and they can choose which one they use.

    I have set up a rule whereby if the item is in one of the paid shipping classes the below rules (which are the free shipping rules) should not be applied, but this doesn’t seem to be working.

    What do I need to do in order to stop free shipping coming up as an option if someone orders both a paid shipping and free shipping items?

    Hope this all makes sense. I’m very untechnical and muddling my way through so really appreciate any help anyone can give. Thanks.

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

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

    (@wpcentrics)

    Hello Katie,

    Thank you for your interest in our plugin. I understand that you have two shipping methods: one free and another with cost calculation, both set up using Advanced Shipping Rates for WC (formerly known as Fish and Ships—don’t worry, it’s the same plugin).

    For the free shipping method, you likely have something like:

    #1 WHERE In Shipping Class (class 1, class 2, class 3), Price 0.

    This is absolutely correct, but keep in mind that a shipping method will be available if any of its rules are met. For this reason, it is still eligible even if there are paid products in the cart.

    Basically, there are two ways to achieve what you want:

    1. Merge all the rules into a single method that adds costs based on the product type. It would remain at zero (free shipping) only if all applied rules result in a cost of 0.
    2. Keep the two methods: A simpler and clearer way, which takes advantage of your current setup (and the one I’d recommend you try), is to add an abort rule when free shipping should not be available. You can do this by adding the following rule:
    WHERE NOT In Shipping Class (class 1, class 2, class 3), Price 0, Special Action "Abort shipping method".

    That should be enough. To keep the things simple, you can change then the “In shipping class” selector to “Always”, because the negative selector will do all the job.

    Please give me feedback on whether my assumptions about your shipping method configuration are correct and if this solution worked for you. Otherwise, feel free to send me more detailed information about your current setup.

    Kind regards,
    Carles Martin
    wp-centrics

    Thread Starter wandw1

    (@wandw1)

    Thanks so much for your help. I think it was the ‘abort shipping’ that got me confused, I now have it all fixed by setting up a rule so that if it is a paid shipping item it aborts, kind of the opposite to what you suggested but it works. Thanks again for all your help!

    Plugin Author wp-centrics

    (@wpcentrics)

    Glad to help… it’s the same:

    • In positive logic, as you did: IN shipping class “paid” => abort free shipping method.
    • In negative logic, as I said: NOT IN shipping class “free shipping” => abort free shipping method.

    The best approach is the one that involves fewer shipping classes, requires fewer changes in the future when adding new products/classes, or minimizes the work needed to assign shipping classes—reducing the risk of mistakes.

    What’s your main scenario: more free shipping or more paid products?

    In other words, if you forget to assign a class to a new product (or leave it without a shipping class), what would you prefer? Free shipping or not?

    • If you prefer free shipping by default, then positive logic is the best option.
    • If you prefer to block free shipping in such cases, then negative logic is better for you.

    Kind regards,
    Carles Martin
    wp-centrics

    PD: By the way, if you’re happy with our product and the support you’ve received, we’d really appreciate it if you could leave us a review. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.