Liquid, JavaScript, themes, sales channels
I use a drop shipper. Their inventory status is not compatible with shopify so and I do not keep a live track of their inventory on my site. When they let me know something is unavailable, I schedule availability for that product for when it is due back in stock. The problem I have is sometimes I might have five colors or styles of a product and only one color is out of stock. I do not see anyway to schedule availability for the single color without making the whole product line disappear. Any ideas? Thanks!
Hello.
You can edit the availability of each variant from the product.
Also note that your theme code has support for hiding variants not available, otherwise this will never work.
If for some reason you can't handle Shopify's default inventory:
It occurs to me that you add metafields for your variants, something like “inventory” or “quantity” and that these are of type “number”, so for each variant you would be adding that metafield to manage yourself.
If you are not interested in having a quantity, and you only want to establish whether it is available or not. Instead of using type “number” you could use “True or false”.
Once you have already defined your metafields, the next thing would be for you to evaluate that data with liquid and from that show the variant or not, show it as not available, etc.
This already depends more on the UI of your store.
Greetings
Thank you. As you said, I am not interested in having a quantity. I'm not tech savvy. I got as far as adding the true/false meta field as you suggested. I found the product.liquid page. I do not know how or where to input the true/false information. It might be too complicated but I have attached a screen shot of what I think is the correct page. Would you be able to tell me what to change? Thank you!!!
User | RANK |
---|---|
33 | |
25 | |
17 | |
9 | |
9 |
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023