Personalized checkout and custom promotions with Shopify Scripts
I have the Ruby script example for line item bundle discounts......however I am looking to specify ANY product from a collection vs. an individual product.
How might this script be adjust to accommodate my need? Script for reference: https://help.shopify.com/en/manual/checkout-settings/script-editor/examples/line-item-scripts#bundle...
Example: buy 1 from collection A AND 1 from collection B, receive 10% off the item from collection B
Example: buy 1 from collection A AND 1 from collection B AND collection C, receive 15% the item from collection C
Hi @jhenry,
As specified by Shopify here, the Script API doesn't support getting a collection from a product.
The alternative is to use product tags. You should be able to apply these in bulk to mimic your collections.
If you redescribe your scripts needs above using product tags, I am more than happy to write a script for you.
Matthew
User | RANK |
---|---|
2 | |
2 | |
2 | |
2 | |
2 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023