Create your own ecommerce website and start selling successfully with ShopWired today
Adding multiple comments fields at checkout
Before you proceed: |
Pro tip!
If you're using Platform Checkout, editing your theme's files to make this customisation will not work. Instead, use the platform checkout customisation settings to create these fields.
On the checkout form you can add a comments field and ask the client to supply additional information for their order, such as special delivery instructions or a gift message, e.g.
<input type="text" name="comments"> |
If you need to ask your customers different questions at checkout, you can include multiple comments fields within the checkout form and our system will automatically concatenate all of the entries in each field and attach them to the order as a 'comment' which can then be viewed on the view-order page in the admin system.
To do so, just include multiple instances of the form input shown below.
<input type="text" name="comments[]"> |
For example
<p> <label>Gift wrap message</label> <input type="text" name="comments[]"> </p> <p> <label>Any special delivery instructions?</label> <input type="text" name="comments[]"> </p> |