CheckoutNewsletterSubscription (optional)
GitHub - magesuite/checkout-newsletter-subscription
This module adds a newsletter subscription checkbox to the checkout summary. After placing an order email address from the order (quote email address) is subscribed to the newsletter.
Â
Installation
This module is optional
composer require "creativestyle/magesuite-checkout-newsletter-subscription" ^2.0.0
Admin settings
Admin settings are located in Stores -> Configuration -> MageSuite -> Checkout Newsletter Subscription
Configuration for this module is separated for Logged In Customer
and Guest Customer
, but it has the same options.
Field | Options | Comment |
---|---|---|
Is Visible | Yes/No (Default: Yes) | General configuration to show or hide checkbox in the checkout |
Is Visible for Subscribed | Yes/No (Default: No) | It allows a hiding field for users who already are subscribed to the newsletter. |
Is Checked by Default | Yes/No (Default: No) | General config for initial state for the checkbox. |
Is Checked for Unsubscribed | Yes/No (Default: No) | It allows unchecking field for users which already unsubscribed from the newsletter. |
Is Checked for Not Active | Yes/No (Default: No) | It allows unchecking field for users which didn’t confirmed subscriptions yet. |
Frontend
Styling
The module does not have any dedicated styles. It should inherit general inputs and checkout styles. Some minimal styling adjustments may be needed.
Template is using deprecated cs-input / cs-input__label
classes