Foxy Forum Status

We're no longer responding to questions via our forum, but we will keep it up for historical reasons. If you can't find the answer you're looking for, please visit our knowledge base or contact us. If there's enough interest in the future, we may bring the forum back.

Adding multiple custom checkout fields and placing them in different locations

solikesimonsolikesimon Member
in Help edited April 2012
I'm using fc_custom_fields as per the example:

<fieldset id="fc_custom_fields">
<div class="fc_inner">
<input type="checkbox" name="terms_of_service" value="accept" checked="checked" class="fc_required" />
<label for="terms_of_service">By checking this box you agree to our <a href=""; target="_blank">Terms of Service</a>.</label>
<label class="fc_error" style="display:none;" for="terms_of_service">You must accept our Terms of Service to complete this transaction.</label>
</div><!-- .fc_inner -->
</fieldset><!-- #fc_custom_fields -->

And then I use Jquery to position this at the end of the Payments section. So far so good.

Now what do I do if I want to add another custom field that needs to be separate from the first one because I need to position it in a different location?

Can I simply give the DIV above with no ID an ID, and then directly below this add my new DIV with an ID containing my second custom field?

  • lukeluke FoxyCart Team
    Sure, you can do whatever you like. The id of "fc_custom_fields" isn't the important part. The important part if the ^^custom_begin^^ and ^^custom_end^^ tags.
  • Thanks :)

    Ps. Loving Foxycart!
  • lukeluke FoxyCart Team
    Thanks! :)
Sign In or Register to comment.