alfredopacino Posted August 6, 2014 Share Posted August 6, 2014 i tried to add html tag in translation like: $_MODULE['<{bankwire}template>payment_return_1faa25b80a8d31e5ef25a78d3336606d'] = 'Non dimenticarti di inserire il riferimento d\'ordine <span class=\"order_number\"> %s </span> nel campo oggetto del tuo bonifico.'; but i see the html code printed in the page, i see <span class="order_number">... Link to comment Share on other sites More sharing options...
vekia Posted August 6, 2014 Share Posted August 6, 2014 it's not possible to use html tags in translation strings prestashop translations tool will remove these html tags Link to comment Share on other sites More sharing options...
alfredopacino Posted August 6, 2014 Author Share Posted August 6, 2014 it's not possible to use html tags in translation strings prestashop translations tool will remove these html tags uhm as i said the html tag arent stripped, they just treated like normal text.. Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted August 6, 2014 Share Posted August 6, 2014 uhm as i said the html tag arent stripped, they just treated like normal text.. rather than continue this path, it would be best to modify the .tpl file with html you want to use as it obviously does not work using the xlator. 1 Link to comment Share on other sites More sharing options...
alfredopacino Posted August 6, 2014 Author Share Posted August 6, 2014 i just want to style with some css the order code when the customers choose bankwire payment.. i don't with its possible to customize with tpl.. Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted August 6, 2014 Share Posted August 6, 2014 i just want to style with some css the order code when the customers choose bankwire payment.. i don't with its possible to customize with tpl.. everything displayed on front office comes from .tpl. look in the bankwire module .tpl file, maybe you can do custom look here...it would be easier if we know what you are trying to accomplish. http://screencast.com/t/3FcCgSeXN2Mj 1 Link to comment Share on other sites More sharing options...
alfredopacino Posted August 6, 2014 Author Share Posted August 6, 2014 (edited) i want to style just the order code in bankwire payment (see green arrow) Edited August 6, 2014 by alfredopacino (see edit history) Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted August 6, 2014 Share Posted August 6, 2014 that can be done easily enough, just break the sentence into three parts, and style the 2nd part in .tpl file. 1 Link to comment Share on other sites More sharing options...
Recommended Posts