indus Posted January 18, 2014 Share Posted January 18, 2014 (edited) Hi In prestashop 1.4, a customer could login and see and apply the voucher code during the checkout process. But for some weird reason, in 1.5 he can see only voucher name, which makes no sense since he needs to apply the code and not the name. And more confusing is the fact that you can click on the voucher name and it adds itself into the voucher entry box. So, anyone knows how to get the code to display instead of name, since that would be more logical. Edited January 28, 2014 by vekia (see edit history) Link to comment Share on other sites More sharing options...
w3bsolutions Posted January 27, 2014 Share Posted January 27, 2014 In shopping-cart.tpl under your theme's directory, changing "$voucher.name" to "$voucher.code" shows the code instead of the name. 2 Link to comment Share on other sites More sharing options...
indus Posted January 28, 2014 Author Share Posted January 28, 2014 Thanks, your help is appreciated. Link to comment Share on other sites More sharing options...
vekia Posted January 28, 2014 Share Posted January 28, 2014 hello Indus, does it work as you expected? Link to comment Share on other sites More sharing options...
indus Posted January 28, 2014 Author Share Posted January 28, 2014 (edited) hello Indus, does it work as you expected? haha, yes ! I cant mark it as solved though. Edited January 28, 2014 by indus (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 28, 2014 Share Posted January 28, 2014 done. marked as solved as you suggested thank yyou for cooperation with regards, Milos Link to comment Share on other sites More sharing options...
Rollk1 Posted June 3, 2014 Share Posted June 3, 2014 Would this also change the voucher name to the code within the back office orders page? Or is that a seperate .tpl file that needs to be edited too? Link to comment Share on other sites More sharing options...
hammerleit Posted February 8, 2016 Share Posted February 8, 2016 is it also possible to Show voucher code instead of Name in Admin Section (Orders)? Link to comment Share on other sites More sharing options...
Recommended Posts