Quote:
Originally Posted by GlasPak
I am trying to modify the payment description and would like to add 2 <br> to the description but x-cart keeps removing the html from the description. Anyway to use html in the description box?
|
Hi there.
You will need to modify the default/en/checkout/steps/shipping/parts/paymentMethod.tpl template and add the ":h" modifier to the {method.getDescription()} expression as follows.
Code:
<div IF="{method.getDescription()}" class="payment-description">{method.getDescription():h}</div>
This will apply to offline payments only. If you need to use HTML in PayPal's description or other online payment, you will need to modify their own templates. Use Webmaster mode to identify the exact template to be edited.