• Resolved dingdang

    (@dingdang)


    Hello,

    is there a way (and if not a quick tip how to obtain if possible trough a hook of there are any) for the following:

    let say there is a free shipping set in woocommerce (which your plugin is using) but at the same time there is a shipping class with value 0.00 used for some products (so some products have as a result free shipping even below the general free shipping treshold is met).

    In that case the shipping price is 0 but your plugin’s info still appears letting the user to buy more to get free shipping which is not OK.

    So with simple words – how to hide the plugin’s text when for some reason the shipping is 0.00.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dingdang

    (@dingdang)

    OK I’ve found you have set hooks nice, so for anyone else looking for the same functionality:

    • the right hook to use is fsl_progress_bar_html
    • woocommerce way to get total shipping in the cart is: WC()->cart->get_shipping_total()
    Plugin Author Marin Matosevic

    (@marinmatosevic)

    Thank you for reaching out and sharing your solution with others. We appreciate your contribution.
    We will consider incorporating this scenario in our next plugin release.

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide info when the shipping is 0.00’ is closed to new replies.