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.

Advanced Template: How to customize ?

pixelchutespixelchutes Member
in Help edited January 2015
Hoping this is an easy question, probably Twig noob-worthy :)

I am trying to customize within, but I don't know exactly how to go about it? I think what may be throwing me is the usage of "with" keyword:
{% include "" with {'address': billing_address} %}
I've been able to replace full Twig "blocks" without issue, but how does one customize the address checkout fields, while maintaining the address variable via with?
  • fc_adamfc_adam FoxyCart Team

    The with option there is saying "load the template and pass this as a variable to the template". If you replace that include with the actual raw code from the template, add this right above the inserted template:
    {% set address = billing_address %}
    Or alternatively you can change any reference to address within the pasted template to billing_address
Sign In or Register to comment.