How to save a customer's vehicle in an order
The following instructions will allow you to:
Save the selected vehicle to an order
To configure it, do the following:
1. Go to the theme code editor:
2. Find the checkout.html
template and paste the following code:
<!-- add the Convermax vehicle to the order comments --><script> window.addEventListener('DOMContentLoaded', () => { window.Convermax?.addVehicleToOrder('{{ settings.base_url }}', '{{ checkout.id }}', '{{ customer.id }}'); });</script>
3. Ensure our script is connected through the script manager, not through the theme code editor, and Location is set to All pages:
In case the location is not set to All pages, click the three dots button on the right, choose “Edit” and then choose “All pages”