Jump to content

conditions.js error at order-carrier.tpl


Recommended Posts

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 required
Line: 3
Char: 2
Code: 0
URI: http://www.nordoutlet.com/js/conditions.js

However, 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...