Liquid, JavaScript, themes, sales channels
Hi there, I am very low on a few products and I need to save the stock for my bold subscription customers. I'm not sure how to allocate stock so it's only available to my subscription customers. If I put 0 units in inventory what happens to the sales that tick over in bold? How do manage this?
Hi @TASH2107 ,
Your requirement is too complex but possible.
If you set your product inventory to zero, ii will show out of stock and nobody will able to purchase it.
To solve it
You have to create a metafield at product level which will store the count of bold subscriber count.
Now custom code you theme which will check for quantity, if quantity is greater than bold subscriber then do nothing but if quantity is less then or equal to bold subscriber then product will show unavailable or out of stock to all user except the bold subscriber.
Hope it will help...
User | RANK |
---|---|
21 | |
21 | |
10 | |
7 | |
6 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023