AbanteCart Community

Shopping Cart Operations => Support => Topic started by: smallfish on March 19, 2015, 01:05:18 AM

Title: input html link in "Bank Transfer Instructions"
Post by: smallfish on March 19, 2015, 01:05:18 AM
How can I add a html link in the "bank transfer" extension in backend (Bank Transfer Instructions) textbox and allow the html link to show at the checkout confirmation page?
The customer can click the link and go to online bank to transfer the money.
Title: Re: input html link in "Bank Transfer Instructions"
Post by: Basara on March 19, 2015, 07:27:11 AM
Hello.

You need to modify bank_transfer extension code something like this http://forum.abantecart.com/index.php/topic,2134.msg8813.html#msg8813
Title: Re: input html link in "Bank Transfer Instructions"
Post by: smallfish on March 19, 2015, 07:58:30 AM
Hello.

You need to modify bank_transfer extension code something like this http://forum.abantecart.com/index.php/topic,2134.msg8813.html#msg8813

OK, thank you! I solve it. ^^

file public_html/extensions/default_banktransfer/storefront/controller/responses/extension/default_banktransfer.php
line 47 :
$this->view->assign('instructions', nl2br($instructions) );
change to
$this->view->assign('instructions', html_entity_decode($instructions) );