outlet.ee Posted May 27, 2010 Share Posted May 27, 2010 I have disabled the 'agree to terms and conditions' and it gives me error. After choosing the carrier and hitting the 'next' button, it says in IE that Message: Object requiredLine: 3Char: 2Code: 0URI: http://www.nordoutlet.com/js/conditions.jsHowever, it redirects to the next page but a customer notified me that he couldn't go to the payment page. If I enale the terms and conditions there is no error.How could Iremove all instances regarding the conditions, I'll never use them anyway? Link to comment Share on other sites More sharing options...
rocky Posted May 28, 2010 Share Posted May 28, 2010 In PrestaShop v1.3, you need to remove the link to the conditions.js file on line 7 of order-carrier.tpl: <script type="text/javascript" src="{$content_dir}js/conditions.js"></script> and remove the conditions block on lines 31-37: {if $conditions} {l s='Terms of service'} <input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} /> {l s='I agree with the terms of service and I adhere to them unconditionally.'} {l s='(read)'} {/if} Link to comment Share on other sites More sharing options...
outlet.ee Posted May 28, 2010 Author Share Posted May 28, 2010 Thank you. Now it gives error Message: Object expectedLine: 501Char: 1Code: 0URI: http://www.nordoutlet.com/order.phpThere is no line 501, total 448 lines in order.php. Link to comment Share on other sites More sharing options...
rocky Posted May 28, 2010 Share Posted May 28, 2010 It is a Javascript error, not a PHP error. You need to view the source of the webpage and then look at line 501 of it. 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