hyttefeber / dawn

Shopify's first source available reference theme, with Online Store 2.0 features and performance built-in.
Other
0 stars 1 forks source link

Inventory number on product pages #43

Open prebenpreben opened 2 years ago

prebenpreben commented 2 years ago

Describe the enhancement you'd like We want inventory number displayed on the product pages in a place it makes sense.

It should max out at 20+.

"På lager (20+)" "På lager (10+)" "På lager (kun 4stk)" "På lager (kun 9stk)"

Describe alternatives you've considered I started building this myself on the last theme, and it was fairly easy. But placing it can be a challenge. For now, I think a paranthesis next to the in stock text can work well without much extra planning required.

Later on, we might want to expand on this logic to include colored lights in both collection view and PDP depending on inventory access. We are adding a lot of preorder products now, so it would make sense to prioritize it soon.

Additional context/screenshots Maybe a screenshot or design?