Prints the form for entering customer information or the already entered customer information.
Syntaksi
{CheckoutBillingAddress(
mode: string,
ajax: boolean,
notifications: boolean
)}Näkyvyys
It is possible to use global visibility tags in any page template and within any tag.
The tag is mainly used at the checkout stage at which customer information is entered (multi-page checkout/single-page checkout).
When using the tag on the one-page checkout, remember to close the tag in a <div> or <fieldset> element to which you assign the tag name as the id.
Attribuutit
ajax:Sets the tag to return either the whole page or only the content it produces as a response to an AJAX request when the form is sent by using JavaScript.
Allowed values:
- true: returns only the content produced by the tag.
- false: returns the whole page (default value).
mode:Defines which one to print: the form or the entered information.
Allowed values:
- 'preview': Prints the information already entered by the customer.
- 'form': Prints only the form. If customer information has already been entered, the form will be pre-filled.
- 'auto': If information has been provided, only the information will be printed, otherwise the form will be printed (default value).
notifications:Defines whether to print notifications related to customer information.
The tag prints the content of the 'CustomerBillingAddressError' notification.
Allowed values: true / false. Default value: true.
before: / after:With these two attributes, you can define content that is output before or after the content produced by the tag.
Allowed values:text that may contain HTML and Interface markup.
E.g.
before:'<p>This markup appears before the tag's own content.</p>'.after:'<p>This appears after the tag's own content.</p>'
If the tag does not produce any content, the content of the
beforeandafterattributes will also not be displayed.escape:Adds escape characters to the content printed by the tag, making it easier to use the content in JavaScript code or JSON objects.
Sallitut arvot:- true: the attribute adds escape characters before quotation marks
- false: the attribute does nothing
- json: the attribute adds escape characters to the output, allowing the content to be used in JSON markup.
or:Defines alternative content that is displayed if the tag itself does not produce any content.
Allowed values:text that may contain HTML and Interface markup.
E.g.
or:'Content not found.'
