Shopify discount on variants based
i want to apply discount based on variants on shopify product for example
1) We have a product and it have variant 2) When more than three variants are added to cart discount is applied on the price of this product 3) For example if 3 variants then 5% discount if 4 variants then 10% discount and if more than 5 then 15% discount 4) how this can be done in shopify any help will be appreciated
If your store is on the Plus plan (https://www.shopify.com/plus) then you can can accomplish this using Shopify Scripts (https://help.shopify.com/api/tutorials/shopify-scripts). There are some example scripts here that you can model yours off of → https://github.com/Shopify/scripts-examples (https://github.com/Shopify/scripts-examples)
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.