• Resolved woowoo101

    (@woowoo101)


    Is it possible to enter a formula for the cost of a flat rate shipping method?

    The info box appears to say that it’s possible, but l’m not sure exactly.

    I want a formula that adds a small increment for additional items. I already have a possible formula, but will it work?

    I want to use the expression “[qty]” for the quantity being ordered, with the cost being, for example, 3.99*([qty]+1.50).

    Will that formula actually do anything?

Viewing 4 replies - 1 through 4 (of 4 total)
  • AJ a11n

    (@amandasjackson)

    Hi @woowoo101

    If you are wanting to charge a Base shipping cost of 3.99 and 1.50 for each item in the cart, the formula would be as follows:

    3.99 + ( 1.50 * [qty] )


    Link to image: https://cld.wthms.co/Rhc9bI

    Hope this helps!

    Thread Starter woowoo101

    (@woowoo101)

    Hi there, that example wasn’t actually for anything to do with my OP, l was just enquiring about whether my grasp on formula basics was correct.

    It turns out l am on the right track so, thanks!

    I have now discovered the manual page that elaborates on the use of formulae (they should maybe give the formula part its own heading?): https://docs.woocommerce.com/document/flat-rate-shipping/

    AJ a11n

    (@amandasjackson)

    @woowoo101

    Yes, it’s the Advanced Costs in the Flat Rate documentation that you will want to take a look at and use.

    Unless you have any further questions, we can mark this as resolved as it sounds like your question has been answered.

    Thread Starter woowoo101

    (@woowoo101)

    Hi thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Flat Rate Cost as a Formula?’ is closed to new replies.