Jump to content

Guest check out page->news letter and opt in checkbox- NOT optional


Recommended Posts

Hi everyone,

My guest check out page in shopping cart requiers to check newsletter and opt in boxes or it returns an error w/those fields needed.

How can i change it to optional mode??

 

this is the code from file: shopping-cart.tpl

 

</p>

{if isset($newsletter) && $newsletter}

<p class="checkbox">

<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($guestInformations) && $guestInformations.newsletter}checked="checked"{/if} />

<label for="newsletter">{1 s='Sign up for our newsletter'}</label>

</p>

<p class="checkbox" >

<input type="checkbox"name="optin" id="optin" value="1" {if isset($guestInformations) && $guestInformations.optin}checked="checked"{/if} />

<label for="optin">{l s='Receive special offers from our partners'}</label>

</p>

 

thanks,

m77

www.bigoshop.com

Link to comment
Share on other sites

×
×
  • Create New...