adrian24a Posted April 21, 2015 Share Posted April 21, 2015 Hi, Sorry for my English, I nead to add new condition in order confirnation, in shipping tab. I know that I can do this in file: order-carrier.tpl. I do something like that: <p class="checkbox"> <input type="checkbox" name="cgv2" id="cgv2" value="1" {if $checkedTOS}checked="checked"{/if}/> <label for="cgv2">{l s='ZAKOŃCZ ZAMÓWIENIE Z OBOWIĄZKIEM ZAPŁATY .'}</label> </p> after line: 344. But I don't know how can I do that if when my clients don't check this second checkbox they will not be able to finish the order and they don't go to payments? Greetings Link to comment Share on other sites More sharing options...
electriz Posted April 21, 2015 Share Posted April 21, 2015 Hey, Try this -> https://jsfiddle.net/wLrhbsvk/ Link to comment Share on other sites More sharing options...
adrian24a Posted April 22, 2015 Author Share Posted April 22, 2015 How can I do it when the page is loaded? Link to comment Share on other sites More sharing options...
electriz Posted April 22, 2015 Share Posted April 22, 2015 Try with $(document).ready(function(){ ...here comes the script... }); Link to comment Share on other sites More sharing options...
adrian24a Posted April 22, 2015 Author Share Posted April 22, 2015 Thanks a lot it is working now. I forget add disable to the button. I'm very greatful. 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