Orders
Order form
Item, quantity and delivery. The form adds up the total and can collect it through Stripe.
- 8 fields
- PDF layout
- from Developer
After you sign in, Mailiy creates a hosted form with these fields. You can change everything in the editor before you publish it. From the Developer plan on, Mailiy also copies the PDF layout. You switch the PDF on as a mail attachment in the editor. This template needs the Developer plan or higher.
Fields included
- NameName, required
- EmailEmail, required
- Delivery addressAddress, required
- ItemDropdown, required
- QuantityNumber, required
- DeliveryOptions, required
- TotalCalculation
- NotesLong text
What to keep in mind
Items and prices are examples, replace them in the editor. If you pick the total as the payment field in the settings and connect your Stripe account, sending leads to payment at Stripe. Show prices as customers pay them, including tax and shipping.
The notes in the template are examples, not legal advice. Check the texts before you publish the form, and link your own privacy policy.
As HTML on your own website
Prefer to build the form into your page yourself? Replace YOUR_ACCESS_KEY with your form's key from the dashboard. The script at the end is optional; with it the page stays put after sending.
<form action="https://mailiy.com/api/submit" method="POST">
<input type="hidden" name="access_key" value="YOUR_ACCESS_KEY" />
<input type="hidden" name="subject" value="New order" />
<fieldset>
<legend>Name</legend>
<label>First name <input name="name.first" autocomplete="given-name" required /></label>
<label>Last name <input name="name.last" autocomplete="family-name" required /></label>
</fieldset>
<label>Email
<input type="email" name="email" autocomplete="email" required />
</label>
<fieldset>
<legend>Delivery address</legend>
<label>Street and number <input name="address.street" autocomplete="address-line1" required /></label>
<label>Postcode <input name="address.zip" autocomplete="postal-code" required /></label>
<label>City <input name="address.city" autocomplete="address-level2" required /></label>
<label>Country <input name="address.country" autocomplete="country-name" /></label>
</fieldset>
<label>Item
<select name="item" required><option value="">Please choose</option><option>T-shirt</option><option>Hoodie</option><option>Mug</option></select>
</label>
<label>Quantity
<input type="number" name="quantity" min="1" max="99" required />
</label>
<fieldset>
<legend>Delivery</legend>
<label><input type="radio" name="delivery" value="Shipping (€4.90)" required /> Shipping (€4.90)</label>
<label><input type="radio" name="delivery" value="Pick-up" required /> Pick-up</label>
</fieldset>
<label>Total
<input type="calculation" name="total" />
</label>
<label>Notes
<textarea name="notes" rows="5"></textarea>
</label>
<p>We only use your details to handle your request. Our privacy policy has more on this.</p>
<input type="checkbox" name="botcheck" style="display: none" tabindex="-1" autocomplete="off" />
<button type="submit">Send</button>
</form>
<script src="https://mailiy.com/client/script.js" defer></script>More templates
Orders
Returns form
Order number, reason for the return, description and a photo.
Orders
Donation form
An amount of the donor's choice, with an address for a donation receipt if wanted.
Orders
Cancellation form
Customer number, contract and end date. Fits a cancellation button for online contracts.
Orders
Complaint form
Order number, description of the defect, photos and whether repair or replacement is wanted.