On the same Foxy settings page, under the "Checkout" section, turn on the "Add custom form fields to your checkout" option.
5
Paste the code below into the "custom checkout fields" text box.
<divclass="fc-form-group"><divclass="col-sm-8 col-sm-offset-3"><divclass="fc-input-group-container fc-input-group-container--checkbox fc-input-group-container--active"><labelclass="fc-input-group-container__title fc-input-group-container__title--forced fc-form-label"> Upload Files </label><divclass="fc-form-group"><p>Click the button below to upload your files.</p> PASTE_INPUT_FIELD_HTML_HERE </div></div></div></div>
6
On the Uploadcare upload widget setup page, copy the form input HTML in Step 4.
7
Go back to the Foxy settings page and replace "PASTE_INPUT_FIELD_HTML_HERE" with the HTML you just copied.
8
Add the "name" parameter to the input HTML (ex: name="Upload"). The name value can be changed to anything you want.
9
Save your template configuration settings by clicking the "Update" button at the bottom.
Final Results
If everything has been setup correctly, customers will see a new section on the checkout page where they can click to upload their files. Just like everything else in Foxy, the upload button and surrounding elements can be customized and styled with custom HTML and CSS.
Accessing Uploaded Files
A link to uploaded file(s) will be available in the receipt (both web and email) along with transaction details in the Foxy admin here.
Need Help?
Did this article answer your questions? Need help with anything? Please click below to contact us.