Hi
I have tried to make a checkbox for newsletter subscription in step 3 of 5 of the order process, but the user is not created. When I use the forms module it is not necessary to have extranet module on the same page, but do I need it on the basket page? Can anybody see what I am doing wrong? The snippet is knicked from Mikkel Ricky's templates on github.
Regards Thomas
@if (GetBoolean("Ecom:Cart.UseNewsletterSubscription"))
{
<fieldset>
<div class="panel panel-default">
<div class="panel-body">
<legend><h4>@Translate("Newsletter", "Nyhedsbrev")</h4></legend>
<input class="form-control" type="hidden" name="EcomOrderSubscribeToNewsletter" />
<div class="checkbox">
<label for="EcomOrderSubscribeToNewsletter">
<input type="checkbox" name="EcomOrderSubscribeToNewsletter" id="EcomOrderSubscribeToNewsletter" checked='@GetBoolean("Ecom:Order.Customer.NewsletterSubscribe")' />
@Translate("Subscribe_to_newsletter", "Tilmeld nyhedsbrev")
</label>
</div>
</div>
</div>
</fieldset>
}