Bricks has a build in progress bar element that uses % and can do dynamic data.
But you somehow have to think of a way to keep score en translate that to an output between 1 to 100%
You might be able to get dynamic data from its users profile where you can save the progress or be able to count total spending (order amount) en divide that by something to get a % value.
About ChatGPT, it can create great code but its always advised to check it. I had it write an entire plugin that hooks into acf, but it took time and tries to get it functioning, and sometimes it forgets the most basic stuff.
I actually thought the same thing, but I can’t find the dynamic data because it’s the total of all orders paid by the customer, not just the current order.
As for chatgpt, I’ll look to see if there are any platforms to verify the code’s security.
It’s impressive. They even included a provision in the code for the bar to go negative in the event of a refund, and if a coupon has been issued and isn’t used, it’s deactivated.
And also the creation of shortcodes so I can use it everywhere. For someone who doesn’t know how to code, it’s an incredible tool.