does anyone know how to create a link that adds an item to cart, adds a discount code, and redirects to a page (that is NOT checkout or the cart)?
Hi there! This is Shahar from the Replo Team. To create a single link that adds an item to the cart, applies a discount code, and redirects to a custom page, you can use Replo's chained interactions. Here's how:
Set up an Add to Cart interaction to add the product.
Add an Apply Discount Code interaction with your desired code.
Complete the setup by adding a Redirect interaction to your custom page URL.
You can follow the steps outlined in our Interactions guide here: Replo Interactions Documentation.
thanks but I am doing this on a popup, so its not made in replo unfortuantely
Are you referring to implementing this functionality through a pop-up on a Replo page, or are you building it entirely within your theme?
just a pop-up on my website. i just need a link in general. we use replo for landing pages but this is just our normal popup from like our homepage using amped
im basically trying to do what this person is doing and the suggestions arent working for me https://community.shopify.com/c/technical-q-a/shopify-url-for-discount-adding-a-product-and-redirect/td-p/595608
To achieve this functionality, Shopify's URL parameters can be used to create a link that adds an item to the cart, applies a discount code, and redirects to a specific page. The format typically looks like this: https://yourstore.myshopify.com/cart/add?id=PRODUCT_ID&discount=DISCOUNT_CODE&redirect=/custom-page. Replace PRODUCT_ID, DISCOUNT_CODE, and /custom-page with the specific product ID, discount code, and your desired redirect page URL respectively. For additional help, you might want to consult Shopify documentation or their community for further customization options.
thank you! i will give that a try!
Hi there, this ticket is being automatically closed since we haven't heard back from you in awhile. If you still need help you can reply here and the ticket will be re-opened.