• LZL0

    (@lchief)


    Hello,

    I would like to report an issue.
    In WooCommerce 2.5.5 the Flat Rate shipping calculator is broken.
    If I go to Settings -> Shipping -> Flat rate -> Cost and define the shipping cost as
    10 + ( 2 * [qty] ) OR 20 + [fee percent=”10″ min_fee=”4″]
    described in https://docs.woothemes.com/document/flat-rate-shipping/ then it is working fine.
    But if I would like to change the numbers to like,
    1.5 + ( 1 * [qty] ) + [fee percent=”5″]
    then it says the shipping is $ 1.5.
    Cart value: $ 83.97
    let’s try the following Cost too:
    1.5 + [fee percent=”5″]
    it calculates a shipping price of $ 1.5.
    Cart value: $ 83.97

    https://www.ads-software.com/plugins/woocommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    Hey LChief,

    I’m having trouble replicating this. I have a $10 product in my cart, so a 5% fee will equal .5.

    1.5 + [fee percent="5"] = https://cld.wthms.co/1dQjn/2HzAN2qa

    1.5 + ( 1 * [qty] ) + [fee percent="5"] = https://cld.wthms.co/Mawl/4NT3DzPw

    I tried various other quantities and products and the math always came out correctly. This is on WC 2.5.5 as well.

    Maybe there is something interferring with the calculation, like another plugin. Have you tried disabling all other plugins and switching to a default theme then testing again?

    Thread Starter LZL0

    (@lchief)

    Mark the product as “Virtual” and enable the shipping for all product with this:
    add_filter( ‘woocommerce_cart_needs_shipping’, ‘__return_true’ );

    EDIT: Yeah, just as I expected, the shipping rate is being miscalculated for digital products with forced shipping: ??
    I am just happy that we have found the problem.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Virtual product = no shipping.

    Downloadable products don’t need to be virtual too.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WooCommerce 2.5.5 the Flat Rate shipping calculator is broken’ is closed to new replies.