Home › Forums › Amount Left for Free Shipping for WooCommerce › How to setup the progress bar with AJAX?
- Support forum for the Amount Left for Free Shipping for WooCommerce.
- This topic has 4 replies, 2 voices, and was last updated 2 years, 6 months ago by Lukáš Dunaj.
November 16, 2020 at 2:40 pm #88271
Please we’ve purchased now the plugin because of the PROGRESS BAR implementation with AJAX , but we can’t get it to work.
Widget content field:
[alg_wc_left_to_free_shipping content=" %amount_left_for_free_shipping% left for free shipping"]
Sadly nothing displays working progress bar :(((
How to use the progress bar code with widget / shortcode / php ? The documentation is a bit dull on this topic.
P.S. We are using Oxygen builder so we have a custom single product page.
Thanks in forward for the answer.November 16, 2020 at 6:34 pm #88272
Ok even the comment didnt like the progress bar code (deleted it) , so here is a screenshot
or download https://www.dropbox.com/s/sqrv5w6xz535kpu/error.JPG?dl=1November 16, 2020 at 6:39 pm #88273WPFactory PluginsParticipantPlugin Author
In order to display the progress bar using the widget you just need to add this to the Content field:
<progress max="%free_shipping_min_amount_raw%" value="%current_cart_total_raw%"></progress>
However, after trying to add it you probably won’t be allowed to.
I just fixed it now, so please just update the plugin to the most recent version (1.9.3) and it’s going to be ok.
Let me know if it works now 😉November 17, 2020 at 1:55 am #88274WPFactory PluginsParticipantPlugin Author
If you’re trying to use the
progressinside the shortcode, please try to remove the double quotes from the
valueattributes, like this:
And Have you tried to update the plugin?November 18, 2020 at 9:04 am #88275
Thank you 😉 its working now!
- You must be logged in to reply to this topic.