I got a custom coded Shopify tag to automatically tag FULL PRICE SKUs (Shopify price matches Compare at price).
My boss needs these tagged SKUs to be eligible for a 10% discount code. Problem is that when I created a collection of FULL PRICE tagged SKUs, the entire parent listings added to the collection as well.
So if one variant in a parent listing is on sale, it will bring all the other products in that listing and the discount code ends up applying to all of these that are already on sale.
There are way too many SKUs to do this manually where it says to apply to specific products and it gets updated every day.
Is there a solution to this? An app? Custom code? Anything?
EDIT: The SKUs are correctly tagged and showing correctly in ChannelAdvisor via a Business Rule in our Shopify template that is being sent.
Understand the core problem first:
In shopify tags are applied to PRODUCTS and cannot be applied at the variant level.
Collections hold PRODUCTS not individual variants.
If the store is on a PLUS enterprise plan a line-item script can be used for the discount.
For bulk you could import discounts using something like matrixify
https://matrixify.app/tutorials/import-shopify-discounts-in-bulk/
There is also scriptable apps like mechanic to automate pricing changes for specific business logic or controlling discounts.
https://tasks.mechanic.dev/
And yes custom code in a custom app can done this through the api but that is a more specific ask with it’s own problems to learn and solve.
Beyond that search the apps discussion forum to shortlist for specific needs.
https://community.shopify.com/c/shopify-apps/bd-p/shopify-apps
So all the pricing related tags that I am sending via Shopify template in ChannelAdvisor at a variant level is completely useless?
Thank you @PaulNewton : Is the only option here to custom code the discount and custom code it seeing if the shopify price and compare at price are the same in order for it to make it eligible, and this is done at a variant level?
I’m having trouble looking for next actionable steps to take on this. I believe I am on Shopify Plus