Shane Rostad Profile picture
The go-to guy for Shopify stores that want to improve their conversion rate DM's Open!
Sep 22, 2023 10 tweets 4 min read
Nobody wants to update a line of code on their store every day

So a lot of people are wondering how you could make this pre-order component i designed for @AaronJNosbisch dynamic

Its actually a lot easier than you'd think! Here's a quick thread on how to do it:
Image First, lets look at the component and what we want to do.

The dates probably change once per month so no big deal there. But the 55% reserved is what you don't want to be changing every day.

So how do we get an accurate % calculation? Image