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.

Custom checkout fields

We've designed some custom checkout fields for our checkout form but would like to reorganize how they are displayed. Is there a way have our fields displayed in a different order? i.e. have our custom fields display before the payment option and after the shipping address entry? For our options logically it makes more sense. There doesn't seem to be anything about this in the docs that we could find. Also anyway to rename the 1,2,3,4 options? i.e. instead of Almost Done for custom fields we'd like to rename that if possible.
  • fc_adamfc_adam FoxyCart Team

    You can change any of the customer facing language strings from within the "language" section of your store's FoxyCart administration - so you'll be able to alter the checkout group headers there.

    In terms of where your custom fields display, you can change that, and you will do that by altering the actual checkout twig template. For details on working with our Twig templates, take a look at this page: The custom fields block is included with this code:
    {% if config.template_config.custom_script_values.checkout_fields %}
    {% include template_from_string(config.template_config.custom_script_values.checkout_fields) %}
    {% endif %}

    You could either move that code within the template, or you could include your custom fields directly in the template where you want them to appear, and not make use of the custom checkout fields option in the administration.
Sign In or Register to comment.