Re: Put Select Variants, Not Entire Product, Into Collection

Put Select Variants, Not Entire Product, Into Collection

wooflinen
Excursionist
14 0 4

I have a couple variant/sizes on clearance to help move product. This leads to a couple of issues:

1. People are doubling the discount with promo codes on top of the sale price. I'm trying to prevent this. Shopify says it is easy by just putting whatever products that are on sale into a "sale" collection and exclude it.

 

Makes sense -- really dumb there isn't just a way to not allow discount on sale though -- so I tried that, but discovered I can't just add variants to a collection, I have to add the entire product of variants.

What is the workaround here? I'm trying to sell a particular size on super sale, but am getting hit with Discount codes taking further discount. I need to stop this ASAP, and Shopify weirdly doesn't have a solution on hand to prevent double-discounts (Woocommerce it comes default)

All feedback appreciated.

Cheers!

Ryan

Replies 6 (6)

miguel-angel
Shopify Partner
34 3 5

Hi @wooflinen !

Glad to see you around here!

I went in to double check in my test store, you can exclude promo codes to be used in combination with products on sale. Did you uncheck these boxes?

miguelangel_0-1695761326768.png


Cheers!

Like & set Accepted Solution if I helped | Donate

.

Miguel Ángel

.

Freelance Shopify Developer
Reach out if you need any Custom Features in your site.
wooflinen
Excursionist
14 0 4

Yep. They are all unchecked. Didn't make a difference. Could still do it. Not sure if my sale price counts as a "product discount"? Not sure, since it's a variant that is being discounted.

CRMW
Shopify Partner
12 0 6

Any updates or solutions to this? We have been dealing with this same issue and it's only gotten worse as we've expanded our offering.

miguel-angel
Shopify Partner
34 3 5

Hi!

Maybe this would be more possible with Shopify Functions with a custom App.
But just as a workaround, why dont you try this?

1) Disable/Unstock the variant you want to put on sale.
2) Create a new standalone product for that variant only.
3) Stock it and add a product discount to it (not a sale).
4) Now that product should be discounted and shouldn't allow for cupon codes to be used on it.

Once that product variant is back to normal price, you can disable the standalone product and enable/stock again your normal variant.

Let me know how it goes !

Like & set Accepted Solution if I helped | Donate

.

Miguel Ángel

.

Freelance Shopify Developer
Reach out if you need any Custom Features in your site.
CRMW
Shopify Partner
12 0 6

Hello. While we appreciate your workaround, this is simply not scalable. We have over 100 of products with 3-12 variants each that go on or off sale any given day.

 

We have not found a App thus far that can manage creating collections with only specific variants in it as it appears Shopify dictates that any product with at least one variant that matches a condition (ex: compare at price not set) will put all variants in the collection (including those on sale)

 

We also can’t use a 3rdparty ‘discount’ specific app since the discounts can’t only be created there since we utilize both Klaviyo and Attentive dynamic coupon creation which uses collections.

 

We assume a Shopify script/function is the way to go, but have thus far run into roadblocks to find a partner to build this functionality out for us. We have reached out our Shopify Plus MSM, but they simply refer us to look for an app. At this point, we're not even sure if Shopify's API even allows us accomplish this fundamental task of not allowing a discount code to apply to variants at the line item if they're already on sale.

miguel-angel
Shopify Partner
34 3 5

Hi,

This is doable by extending the checkout with a custom Checkout UI extensions.

Basically we can prevent the customer to submit a purchase depending on X or Y conditions.

Like & set Accepted Solution if I helped | Donate

.

Miguel Ángel

.

Freelance Shopify Developer
Reach out if you need any Custom Features in your site.