Shopify themes, liquid, logos, and UX
I am selling rooms for a retreat, and each room has an option of buying as a single occupancy, or as a sharing/couple price. Right now I've added as variants but I only want it so that it's possible to buy only one of the options. (if someone buys single, the sharing/couple price is no longer available) Is this possible to do ?
Yes, it is possible to set up your product variants in a way that allows customers to choose only one option, either single occupancy or sharing/couple price, but not both. Here's how you can achieve this:
In your Shopify admin dashboard, go to "Products" and select the product representing your retreat rooms.
Scroll down to the "Variants" section and edit your existing variants or create new ones.
Create two variants for each room option: one for single occupancy and another for sharing/couple price. For example:
Ensure that both variants have their own unique SKUs (Stock Keeping Units) or barcode values to differentiate them.
Hi NomtechSolutions, thanks for taking the time to reply, I've already done this, however what I am looking for is that I wouldn't have to worry about blocking out the option that wasn't bought. If someone buys the single occupancy room, I will have to still manually make the couple/sharing unavailable. The goal would be that if someone buys a room for single, or sharing, the other option would no longer be available to book. Hope that makes sense!
Hi @Periphyseon ,
This is a validation process where a user who has already purchased an item will only be eligible for a specific variant only.
We can do this by checking the user’s existing order history, matching it with the current product, and allowing them to purchase only that specific item.
However, there are some limitations, like the user must be logged in, and the date range must match.
Hope it make sense.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025