Skill Bar with Loopers

Hi there,

I can see the loopers functionality works on the old Skill-bar element, but the new ‘Stat bar’ element does not allow dynamic data.

I am looking to use a calculation based on 2 WooCommerce meta value to show a ‘progress’ stat bar. Think something like ticket % allocation for events.

  • Tickets sold / stock available.
  • 10/100 = 10%
  • I want this value to dynamically change based on the 2 meta value on the product page.

What is the best way to go about this with X and loopers? And may I suggest the ability to use this on the new Stat bar element, like you could with the old ‘skill bar’.

Hope that makes sense.

Thanks in advance!

Hey Kade,

We have listed the “Statbar to allow Dynamic Content” as a feature request just last month so it’s queued to be investigated by our development team if it’s possible to incorporate it in the builder.

Since you require some calculation of meta values, you will need to create your own custom shortcode. The Classic Skillbar can’t accept shortcodes though so you need to create a custom skill bar also using your own custom HTML, CSS, and JS as there’s no way to pull up the CSS and JS of the Classic Skillbar separately. All that would require custom development which regretfully, is beyond the scope of our support.

There might be improvements with the Statbar and Dynamic Content in the future so just stay tuned.

Thank you for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.