Hi Bhuvanesh_Mille, what I believe you’re looking for is the Shopify Ajax API. The links discussed in this thread are for use outside of a Shopify site (from an email for example) to direct someone back to your site and add items to the cart at the same time. Once a customer is already on the site then you can use the Ajax API to add products without leaving the page.
Jesse_Meyers
57
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Pre-load cart with subscription/plan products using permalinks | 53 | 1347 | December 1, 2025 | |
| Tool for Easily Creating Cart Permalinks | 1 | 83 | January 7, 2026 | |
| Discounts and Cart - Use permalinks to apply a discount and pre-load the cart | 1 | 44 | March 29, 2024 | |
| Cart Permalink send line item properties along with access_token | 0 | 24 | November 21, 2023 | |
| Shopify URL for discount, adding a product, and redirect | 6 | 937 | February 8, 2025 |