Creating custom checkout fields

davidzupecdavidzupec Member
in Help edited May 2014
Hello I've created an additional field in my checkout template for comments. If the customers include comments with their purchase will the receipt that I receive as well as the customer then show the customers comments? Below is my code for the checkout template:
^^custom_begin^^
 
<h2>Additional Information</h2>
 
<fieldset id="fc_custom_fields">
	<legend>Additional Information</legend>
	<div class="fc_inner">
		<div>
			<h4>Comments?</h4>
			<p>If you have any comments about your order please let us know.</p>
			<textarea name="Comments" cols="35" rows="6"></textarea>
		</div>
	</div><!-- .fc_inner -->
</fieldset><!-- #fc_custom_fields -->
 
^^custom_end^^
Tagged:
Comments
  • fc_adamfc_adam FoxyCart Team
    @davidzupec,

    Yep - as long as the custom fields have a name attribute - they'll be included in the receipt and also available in the transactions report in the admin and via the webhooks and API.
  • Great, thank you Adam! Gotta love FoxyCart and can't wait for 2.0 : )
Sign In or Register to comment.