Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
We want to build a product recommendation API that allows us to recommend products of the same "product_type" in our cart page. We already have automatic discounts setup with Shopify's Script Editor that allows discounts to be applied when a user adds 2 products of the same product type.
As part of the recommendations API we would like to know if a product type is eligible for an automatic discount so we can show a message in the UI.
Is there I way I can check if a product type is eligible for discount?
Thanks,
Nicolas
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025