SEO, AdWords, affiliates, advertising, and promotions
How do trigger 'add to cart' action directly from a marketing campaign? I want to bypass sending customer to the PDP and lend them on shopping cart when they hit 'add to cart' directly from a marketing email. Is that possible?
Hey @Zhanna711,
Ohad here, from Zoorix. The solution I can think of requires some coding skills, here is how it goes:
1. Navigating the customer to a dedicated landing page with a query param that specifies the product/variant id
2. Use the Shopify Add To Cart Ajax API to add the product to the cart
3. While the product is being added show the customer a spinner, possibly with text saying that the "Product is being added to the cart", or something similar.
3. After the product was added, navigate the customer to the cart page
I hope this helps and let me know if you have any questions 🙂
Cheers!
Ohad
Thanks Ohad! Appreciate your response, I'll take a look.
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025