All things Shopify and commerce
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!!
Solved! Go to the solution
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>
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>
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024