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!!! ![]()
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!!! ![]()
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