Form Redirection to checkout

Solved

Form Redirection to checkout

Ritikaaaa
Shopify Partner
39 0 3

Hello,

I'm creating a custom form in shopify  and want to add file upload option in it. so I want to know if I can get this uploaded file into email? Also I want this form to redirect to checkout page after filling in. Is  it possible to do this? Please HELP!!

Accepted Solution (1)

Small_Task_Help
Shopify Partner
830 27 75

This is an accepted solution.

Hi,

 


Hope following will help

- Custom Form with File Upload you can use a third-party app or custom code for file uploads.
- Use cloud storage or a custom server to handle file uploads and send them via email.
- Redirecting to Checkout by using JavaScript

JavaScript Redirect Example:

<script>
  document.getElementById('custom-form').addEventListener('submit', function(event) {
    event.preventDefault();
    
    // Handle form submission here (AJAX or other methods)
    
    // Redirect to checkout page
    window.location.href = '/checkout';
  });
</script>

 

 

To Get Shopify Experts Help, E-mail - [email protected]
About Us - We are Shopify Expert Agency
At Google My Business - Ecommerce Small Task - Hire Shopify Developers Ahmedabad

View solution in original post

Reply 1 (1)

Small_Task_Help
Shopify Partner
830 27 75

This is an accepted solution.

Hi,

 


Hope following will help

- Custom Form with File Upload you can use a third-party app or custom code for file uploads.
- Use cloud storage or a custom server to handle file uploads and send them via email.
- Redirecting to Checkout by using JavaScript

JavaScript Redirect Example:

<script>
  document.getElementById('custom-form').addEventListener('submit', function(event) {
    event.preventDefault();
    
    // Handle form submission here (AJAX or other methods)
    
    // Redirect to checkout page
    window.location.href = '/checkout';
  });
</script>

 

 

To Get Shopify Experts Help, E-mail - [email protected]
About Us - We are Shopify Expert Agency
At Google My Business - Ecommerce Small Task - Hire Shopify Developers Ahmedabad