Hi all
I am trying to create a checkbox that helps people subscribe during the checkout phase. I have checked "Newsletter subscription" in the Cart V2 module. I can see that some information regarding the newsletter subscription is submitted, but the user is not created in the back-end.
Following code is used on one of my steps:
@if (GetBoolean("Ecom:Cart.UseNewsletterSubscription"))
{
var isChecked = GetBoolean("Ecom:Order.Customer.NewsletterSubscribe");
<div class="form-inline">
<div class="form-group">
<div class="checkbox">
<label class="checkbox" for="EcomOrderSubscribeToNewsletter">
<input type="hidden" name="EcomOrderSubscribeToNewsletter" />
<input type="checkbox" name="EcomOrderSubscribeToNewsletter" id="EcomOrderSubscribeToNewsletter" tabindex="17" />
<strong>@Translate("Cart.SubscribeNewsletter.Text", "Få gode tilbud, nyheder før alle de andre og meget mere - tilmeld dig vores nyhedsbrev"</strong>
</label>
</div>
</div>
</div>
}
I have to mention that I am not using the Newsletter V3 module, and I want to use the standard Email Marketing module.
Does anyone know what might be wrong?
Best regards
Bogdan