Posted on 21/05/2015 12:02:07
Hi,
The newsletter checkbox in module settings for the shopping cart can be used with both Newsletter v3 and Email marketing and it use the same code in the template.
This code is from a default "information.html" template:
<!--@If Defined(Ecom:Cart.UseNewsletterSubscription)-->
<fieldset id="newsletter">
<legend>Newsletter</legend>
<dl>
<dt>
Newsletter
</dt>
<dd>
<input type="hidden" name="EcomOrderSubscribeToNewsletter" />
<input type="checkbox" name="EcomOrderSubscribeToNewsletter" id="EcomOrderSubscribeToNewsletter"
<!--@If Defined(Ecom:Order.Customer.NewsletterSubscribe)-->
checked="checked"
<!--@EndIf(Ecom:Order.Customer.NewsletterSubscribe)-->
/>
<label for="EcomOrderSubscribeToNewsletter">
<!--@Translate(newsletterSubscribe, "Subscribe to newsletter")-->
</label>
</dd>
</dl>
</fieldset>
<!--@EndIf(Ecom:Cart.UseNewsletterSubscription)-->
The checkbox is described here:
- Use email subscription
When this checkbox is enabled the email subscription from Email Marketing and the Newsletter v3 is enabled.
If you use Email Marketing the users will recieve emails if they have a checkmark in the E-mail checkbox in User accepted communication methods in their User Management profile (requires version 8.3.1.0).
If you use Newsletter v3 the users will recieve emails if they are subscribed to the group/groups that are selected in the Categories setting.
From the "Newsletter subscription" section here: http://manual.dynamicweb-cms.com/Default.aspx?ID=7190
I hope this helps you.
Kind regards,
Merethe
PS. Remember to post in english, because some of the developers and partners don't understand danish.