Jump to content

[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
Link to comment
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.

Link to comment
Share on other sites

  • 6 months later...

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

Link to comment
Share on other sites

  • 1 year later...

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...