Product from

Product from

Ritikaaaa
Shopify Partner
39 0 3

Hello,

 

I want to redirect each product to a form and then to checkout, Form needs to be different for each product, Is it possible? Please HELP!!! 😞

Reply 1 (1)

PageFly-Amelia
Shopify Partner
576 162 232

This is Amelia from PageFly - Landing Page Builder App

 

If you'd like to redirect the customer to a form after they click the "Add to Cart" button, one option is to create a unique page with a form for each product. However, this could be challenging if you have many products.

To simplify the process, you can add JavaScript to the "Add to Cart" button that redirects customers to a single form page. Here's an example of how you might do that:

document.querySelector('.add-to-cart-button').addEventListener('click', function() {
    window.location.href = 'URL_of_form_page';
});

This code will redirect users to the specified form page after they click the "Add to Cart" button. Adjust the URL in the code to point to your form page.


Hope that my solution works for you.

Best regards,

Amelia | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 
➜ Weekly updated Shopify tutorials on YouTube 


All features are available from Free plan. Live Chat Support is available 24/7.