Apply Discount Code only to Variant in Collection

Apply Discount Code only to Variant in Collection

charles_loder
Shopify Partner
25 1 7

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.

 

Example:

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

Replies 7 (7)

AvadaCommerce
Shopify Partner
3879 840 1006

Hi @charles_loder 

Thank you for your question.

 

You could create a discount code for a specific variant by doing these steps below:

  1. From your Shopify admin, go to Discounts.

  2. Click Create discount, and then click Discount code.

  3. In the Discount code section, do either of the following:

    • Enter a name for the new discount code, for example, 50offPhysicalCD.
    • Click Generate code.
  4. In the Types section, do either of the following, select Percentage and then enter a percent value in the Value section.

  5. In the Applies To section, select Specific products, click Browse, check the appropriate variants, and then click Add.

  6. Check the suitable solution at Minimum requirementsCustomer eligibilityUsage limits, and Active dates section.
  7. Click Save discount code.

If you feel like this answer is helpful, please mark it as a SOLUTION.

Best regards.

banned
u3dme71
Tourist
6 0 1

What if you have 800+ products each with 4-5 variants? I'm trying to do this as well, I want to discount my1 variant, tis will take so long and then i have to change it back when the promo is over. Is there any other way to do this?

u3dme71
Tourist
6 0 1

I'm also looking for a solution to this.. I cant offer the same discount to every product variant. I only want to offer it for 1 variant and my products all have the same 4. It's very frustrating, I cant browse all 1500 products and do this each time i want to offer a sale or discount. I cant believe it's this hard to do.

Discount-Bot
Shopify Partner
187 16 20

@u3dme71 , if you're able to set up an automatic collection based on something in the variant's title, for example, you can just set up the discount to apply just to that automatic collection.

 

Would that approach work for you? For example, you can create an automatic collection for physical product variants like this:

topshop_0-1723408393856.png

 

Founder, Discount Bot: Sitewide Sales
- Exclude hand-pick products/collections or on-sale items from discounts: Read the guide
- Increase AOV using multi-tier volume discounts
- Bulk coupon codes - for discount promotion
micahsa
Excursionist
14 0 18

Same challenge.

 

@Discount-Bot this solution is close, except that in our case this just creates a collection of the entire product catalog, as all of our listings have a physical or digital option.  

 

The discount applies to everything in the Collection, and the Collection contains both Physical and Digital variants.  There isn't a way to only include the Digital variant in the Collection. (As far as I can tell)

 

 

TheGFLollyCo
Tourist
9 0 2

Hey have you found a solution?

 

I'm in the same boat. I have over 200 products, all with the same 2 variants - 50g and 250g sizes. I only want to offer tiered discount pricing on the 250g sizes. I am adding products with the same variants all the time, so manually adding a discount to the 250g Variant is a waste of time.

 

I've spent hours tonight trying to find something that automates this. Ugh...!!!

 

I don't want separate products for these Variants.

tanwanjern
Shopify Partner
25 0 0

Applying discount codes to just one variant of a product on Shopify can be frustrating. Most discount tools apply codes at the product or collection level, so if a product has both sale and full-price options, the discount often applies to all of them by mistake.

 

One way to fix this is to separate each variant, like format or color, into its own product. But if you’ve already uploaded everything as variants, changing it manually can be a hassle. A good alternative is the app SA Variants: Combined Listings. It has a “Split Product” feature that can automatically turn variants into individual products while still keeping them grouped visually.