Personalized checkout and custom promotions with Shopify Scripts
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I am in a situation where I need to have conditions based on the locations (warehouse) of variants and the stock it has.
For example a product ships from different locations. location 1 = CA, location 2 = FL
When the location CA is out of stock, I want to display that the product will be delivered from location FL.
To achieve this, I need to put conditions with locations and the quantity of that specific location.
Please let me know how can I do them or what objects are available to create those conditions.