I make lamps and have options of different wood (Teak and Walnut are examples) and different lampshades (white and cream are examples). I show this on my website through Options and Variants. I’m using Dawn 2.0, but I have not committed to it as a theme. I will, however make sure to stay with a 2.0 theme in the future. I’m just learning how to use Shopify right now before committing to a theme. I think the best way to ask my question is through and example (which can be referenced under my Table Lamp Product):
I make 5 Walnut Wood lamps (physically I only have 5 in stock in my inventory) and give an option of choosing either a White or Cream lampshade. I have the Wood option listed fist, followed by the Lampshade option second. I have to set my Variants Product Quantities as 5 Walnut / White and 5 Walnut/ Cream. Even though I only technically have 5 Walnut wood lamps available for sale.
I understand that if one of the Lampshade option sells out, such as white, then that specific option will be out of stock and that is good, However - If I sell out of my 5 Walnut Wood lamps, I want to be able to have both Lampshade options (White and Cream) marked as sold out regardless of my Variant quantities listed for the lampshades.
I understand that there maybe an app that can do this, but I would like to avoid the monthly fee’s and find a way to code this instead. Is there a way I can use conditional logic so that when I sell out of a selected Option (such as Walnut) then other Walnut Variant is marked as Out of Stock? And can you help me with that code?
Forgive me if I’m not perfectly using the correct terms here, but I hope my example is enough to ask my question. I’m familiar with editing code with other website providers, but I am a few days new to Shopify and will also need some pointers such as where exactly to go to edit the code (within the edit code form the online store) and maybe where to place it (between what code).
Thought I would also add a screenshot (I’ve changed cream to golden sand). Remember I really only have 5 Walnut made and then I have their corresponding lampshades. You can ignore Teak, but its the same concept and I will to do it for Teak as well. I truly hope this is possible in some way, some how. Even if it’s a paid app.
Interesting Problem that you have!
What i get out of this, that you have a two-component bundle product which your customers can assemble them self. In this case, there is no easy self-coded solution to this, since you only can put inventory on variant level and not on product level.
In this case i would look at bundle apps, which can accomplish your desired solution. In this case, you should create two different products
Woodstand
Lampshade
and combine them in a bundle product, where the customer can choose a wood stand and a separate lampshade. Then you can monitor the wood stand inventory separately.
A custom solution for your store without the use of an app would cost alot upfront for the coding so i would definitely recommend looking for an app.
Thanks! I’ve spend the morning looking at Bundle Apps and I can’t seem to figure out what will work for me. A lot of the apps bundle things together that seem more like an Advertisement on a page. Some just confuse me. Would you know that will work, that I can try before buying?
An alternative is if your products do not have things like skus, and the options customers select do not affect the price then make only 1 product-variant and collect the options as line item properties instead.
I will look these over. Thank you. I don’t know how you managed to find these after I looked forever for thinks like these with keywords like Bundles etc.
Thanks Paul. I haven’t thought about going about it from the backend. I like this idea, cause I’m happy at how I have things setup on the front end. I’m gonna need some time to think on all this and do more digging, but I will let you know if I need anymore help!
I noticed that it’s been a while since you opened your topic, and you already received a suggested solution. However, I’d like to offer another simpler solution for you (and other members) to consider in case you encounter a similar issue in the future .
I highly recommend using the Easify Product Options app. Its Free version is sufficient to help you set up your options and solve your problem. Here’s a quick demonstration on how to do it:
Create your product with the Wood option only, including “Teak” and “Walnut” variants, and set specific quantities for your variants (e.g., Walnut: 5). Do not create the Lampshade option.
Install the Easify Product Options app and create a new option set:
Add a custom option for the Lampshade with 2 values: “White” and “Cream,” using the Buttons option type (or choose another from the 25 option input types provided by the app):
The result is that the inventory will only depend on your Wood variants’ quantities (quantities of “Teak” and “Walnut”), while the Lampshade options won’t affect the inventory, just as you want.
Give the app a try! It’s incredibly easy to use and can be immensely useful for managing your product options .