Jump to content
prestalollo

[SOLVED] Uncheck delivery terms + default shipping option

Recommended Posts

Hi
How can I uncheck the box for confirmation of delivery terms, so the client must check the box before continue. Now, the code looks like this:


<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='(kopinfo)'}



Also, at that check out page, I wish to have no shipping option pre checked - now one option (the middle out of 3) is checked. Is it possible to make so nothing is checked when the client arriwes to that step?

Kindly

lollo

www.biobody.se/index.php

Share this post


Link to post
Share on other sites

PrestaShop already leaves that box unchecked the first time you check out. It then writes a value in PrestaShop's cookie so that the second and subsequent checkouts have the box ticked by default. If you clear your cookies, you will then be forced to tick it again.

Share this post


Link to post
Share on other sites

actually this isn't allowed in some countries (what if the conditions change...)

 

to force customer to tick the checkbox everytime, simply remove:

 

checked="checked"

 

within the if statement.

 

sorry the above doesnt quite solve the problem

 

Excellent, thank you

Share this post


Link to post
Share on other sites

I know this is an old post, but can somebody tell me what file I need to remove the "checked" code?

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More