Appify CPO works with your theme's Add to Cart button to include the calculated price and customer selections when an item is added to the cart. In most themes, Appify CPO detects the button automatically. If auto-detection doesn't work — or if you need custom behavior after an item is added — the Theme sub-tab gives you manual controls. You find these settings in Calculator Editor → Placement & Styling → Theme sub-tab.
button[type="submit"][name="add"], which works for most Shopify themes.| Setting | Default | Description |
|---|---|---|
| Add to Cart Button Selector | button[type="submit"][name="add"] |
CSS selector used to identify the Add to Cart button on your product page. |
| After Add to Cart Script | (empty) | JavaScript that runs after a successful add-to-cart action. |
<button class="btn-add-cart" type="button"> instead of the standard submit button. You change the selector to .btn-add-cart so Appify CPO can identify it.document.querySelector('.cart-drawer-toggle').click(); to trigger it.