Support » Plugin: Amount Left for Free Shipping for WooCommerce » Suggestion: Progress Bar

  • Resolved alexio

    (@alexio)


    Hi,

    Very nice work! I would like to suggest an improvement with including a progress bar so there is also visual guidance. On the mini cart it would look great!

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Algoritmika Ltd

    (@algoritmika)

    Hi @alexio,

    Thanks for the idea. Actually, recently I was thinking about adding the progress bar myself. Will do that in next plugin version.

    Plugin Author Algoritmika Ltd

    (@algoritmika)

    Hi again, @alexio,

    I’ve checked the plugin code and, as a matter of fact, you can already display the progress bar. What you need to do is to set your “Content” option(s) to:

    
    <progress max="%free_shipping_min_amount_raw%" value="%current_cart_total_raw%"></progress>
    

    Or if you need an inverted value:

    
    <progress max="%free_shipping_min_amount_raw%" value="%amount_left_for_free_shipping_raw%"></progress>
    

    Please try it out and let me know what you think.

    Thank you, it’s great!
    All i have to do is figure out how to style it 😀

    Plugin Author Algoritmika Ltd

    (@algoritmika)

    Hi @alexio,

    Happy to hear it’s solved. You will probably find it yourself, but in case if someone else reads this thread, here is a useful link about styling the default HTML progress bar – http://cssdeck.com/labs/styling-html5-progress-bars

    Hope that helps. And if you like the plugin, please consider leaving me a rating.

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