Czarekplpl Posted December 9, 2016 Share Posted December 9, 2016 Hello. How to make checkbox on checkout page checked by default. I just want the clients to be able to see all payments gateway without checking this checkbox. Thanks for any help Link to comment Share on other sites More sharing options...
Daresh Posted December 9, 2016 Share Posted December 9, 2016 Which checkbox? The rules agreement? Checking it by default would be illegal. Besides, it is not enough to show payment methods, the customer must save the address. I recommend usign the Show Payment Methods module for this purpose. Link to comment Share on other sites More sharing options...
Czarekplpl Posted December 9, 2016 Author Share Posted December 9, 2016 Yes, rules agreement checkbox. I want to show all payment methods without checking this checkbox for registered clients. I'm in China here is no law problems. Link to comment Share on other sites More sharing options...
Adeko.nl Posted December 9, 2016 Share Posted December 9, 2016 Hello Czarekplpl, If you are using the default-bootstrap theme you go to themes -> default-bootstrap -> order-carrier.tpl. Somewhere around line 362 you will find something like: <input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} /> Change it to: <input type="checkbox" name="cgv" id="cgv" value="1" checked /> Link to comment Share on other sites More sharing options...
Czarekplpl Posted December 14, 2016 Author Share Posted December 14, 2016 Checkbox is checked after this changes. Unfortunately, payment methods are still unvisible. Now to see them need uncheck and check again :-))) Link to comment Share on other sites More sharing options...
Daresh Posted December 14, 2016 Share Posted December 14, 2016 This checkbox needs to be clicked for the payment methods to show. But as I said - it is illegal to check rules agreement by default, unless you are not in EU, then I don't know Link to comment Share on other sites More sharing options...
Adeko.nl Posted December 14, 2016 Share Posted December 14, 2016 Hi Czarekplpl, This might be an issue with the way javascript is loaded. Do you have "Move javascript to end" to YES in the backoffice at CCC? 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