Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Does Shopify's AJAX /cart/add.js method automatically communicate with the Shopify Scripts API and run any line item scripts on the items added to the cart via the AJAX method?
anyone have an answer yet? I need to know this as well.
Yes. Any time the cart is modified, the Script will run and when you fetch the cart afterward, you'll get the cart with the discounts applied.