Sufio allows you to set custom terms to invoice sending, and automatically send invoices to customers only if certain conditions are met.
To enable custom sending of invoices:
- In your Sufio account, go to the Settings → Emails page.
- Switch the Automatically send invoices toggle on and select from the dropdown menu Automatically send invoices when orders are: custom.
- Click on Update settings to save the changes.
You will then need to add a unique cart attribute Invoice Send
to your cart page that will inform Sufio whether an invoice should be sent for that particular order. Invoices will be sent only if the cart attribute is present.
To add the cart attribute to the cart page:
- In your Shopify Admin, go to the Online Store → Themes page.
- Click the Actions button, and then click Edit code.
- Select cart.liquid in the left sidebar. You might use the upper search bar for a faster search.
- Insert the following code snippet inside the
<form>
. A right place for the field is just before the Check out button.
Here are some examples of custom terms that can be used for invoice sending. Use one of the following code snippets as a replacement to the general code snippet above.
You can add a Send me an invoice checkbox to your cart page so that your customers can decide whether they want to receive their invoice or not.
You can choose to send invoices only for orders with a certain total amount, e.g., higher than zero.
You can send invoices only for orders that contain at least one product tagged with a specific tag, e.g., Invoice
.
You can send invoices only to customers tagged as VIP
. Please note that a customer needs to be logged into their account in your store while shopping.
Note
The code snippet may need to be added to a different file than cart.liquid, depending on the theme you use. Often, the file is named main-cart-footer.liquid.
If your store uses cart drawer (also called ajax cart), in most cases, the right file is ajax-cart-template.liquid file.
Need help?
Do you need help with customizing your Shopify store theme? Please contact our experienced support team. We'll be happy to assist!
Professional invoices for Shopify stores
Let Sufio automatically create and send beautiful invoices for every order in your store.
Install Sufio - Automatic Invoices from the Shopify App Store