Is there any way to apply a discount code to only one variant of a product?
In reality, I would prefer to create a collection that only includes the one variant.
Product A has two variants — (1) Physical CD and (2) Streaming, and it part of a collection called "My Products"
I would like the discount code, Discount50%, to apply only to the Physical CD variant.
Ultimately, I would prefer to have a collection called "My Physical Products", but the whole product is added if one of the variants matches the criteria.
One thought is to line item scripts, but I prefer avoiding them as much as I can
Thank you for your question.
You could create a discount code for a specific variant by doing these steps below:
From your Shopify admin, go to Discounts.
Click Create discount, and then click Discount code.
In the Discount code section, do either of the following:
In the Types section, do either of the following, select Percentage and then enter a percent value in the Value section.
In the Applies To section, select Specific products, click Browse, check the appropriate variants, and then click Add.
If you feel like this answer is helpful, please mark it as a SOLUTION.
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022