outlet.ee Posted May 1, 2011 Share Posted May 1, 2011 How to make it so this button will not appear if there is just 1 payment method for selected country? Also, it is the same for 'please choose carrier' and then there is just one carrier, i.e. not much to choose from? Thank you. Link to comment Share on other sites More sharing options...
cleatus Posted May 1, 2011 Share Posted May 1, 2011 i haven't looked at mine yet but if there's no way to set that in the backend then it sounds like you would need to edit the tpl file for that stage of the checkout process. sometimes there's a way in the backend that's not all that obvious to us beginners, however which is preferred if at all possible as edits to core pieces of prestashop will be overwritten with updates. Link to comment Share on other sites More sharing options...
eFlint Posted January 11, 2012 Share Posted January 11, 2012 Has anyone found the way to turn it off in the back end? Which .tpl should I be looking for? Thank you! Link to comment Share on other sites More sharing options...
bellini13 Posted January 11, 2012 Share Posted January 11, 2012 you have to edit the 1 payment module that you use. there would be a template file in that modules directory, open the template file and search for the text you would like to remove. Link to comment Share on other sites More sharing options...
jhnstcks Posted January 11, 2012 Share Posted January 11, 2012 You need to use the translation tool which is in admin>tools>translations>module translations Link to comment Share on other sites More sharing options...
hxd Posted January 12, 2012 Share Posted January 12, 2012 Has anyone found the way to turn it off in the back end? Which .tpl should I be looking for? Thank you! You can remove the "Other payment methods" button by commenting out some code in one of the template files for the payment module. The template file is different, depending on the payment module. The one that you need for PayPal and Google Checkout, for example, is called confirm.tpl; for Bankwire and Cheque it's payment_execution.tpl; Cash on Delivery-validation.tpl. The code that you have to comment out is very similar for all payment modules and it can be found almost at the and of the template file. For PayPal it looks like this: <a href="order.php?step=3" class="button_large"> {l s='Other payment methods' mod='paypal'}</a> Each module has a folder in the "modules" directory, which is itself located in the root PrestaShop directory on your hosting account. Inside the folder for the particular module you can find its template files. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now