• Resolved Anam Hossain

    (@anam_themexpert)


    Hello,
    In flat rate shipping method, I can set cost per product like 10 + ( 2 * [qty] ) – A base shipping cost of $10 plus $2 for each item in the cart.
    But if I want
    $10 for 1-10 quantity
    $20 for 11-20 quantity
    $30 for 21-30 quantity
    Then how can I set this price with flat rate shipping placeholder method.
    I appreciate fast reply and help.
    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Flat rate formulae are evaluated by class-wc-eval-math.php, and looking at that we can see that operators are limited to + – / x and ^ (power) and that there no functions or if/then conditionals. So I don’t think what you want can be done with the core WooCommerce plugin.

    I’ve had a look at three popular www.ads-software.com shipping plugins and they don’t offer formulae based on product quantity, you would need to get the pro versions for that. There are also several commercial shipping plugins at woocommerce.com and codecanyon.net. I am not able to recommend a particular one.

    Luminus Alabi

    (@luminus)

    Automattic Happiness Engineer

    Hi @anam_themexpert,

    You can’t achieve this with the flat rate shipping method.

    You’ll want to look at the Table Rate Shipping extension for the sort of tiered pricing that you’re looking to set up here.

    Luminus Alabi

    (@luminus)

    Automattic Happiness Engineer

    Hi @anam_themexpert,

    We haven’t heard from you in a while now so I’ll go ahead and mark this thread as resolved.

    If you have any further questions, I recommend creating a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Quantity based flat rate’ is closed to new replies.