Saint Systems
Forum Replies Created
-
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] GDPR and MailChimpTo make this work with translation/WPML, you simply need to wrap the strings you want to be able to translate in GetText calls using the WordPress functions
_e()
or__()
. See this example: https://wpml.org/2009/05/wordpress-theme-localization/Using the example from above, the first action hook would become:
add_action('ss_wc_mailchimp_before_opt_in_checkbox', function () { echo '<p class="form-row" id="gdpr-label"><strong>' . __( 'Marketing Permissions', 'woocommerce-mailchimp' ) . '</strong></p>'; echo '<p class="form-row" id="gdpr-description">' . __( 'Saint Systems, LLC will use the information you provide on this form to be in touch with you and to provide updates and marketing. Please let us know all the ways you would like to hear from us:', 'woocommerce-mailchimp' ) . '</p>'; });
- This reply was modified 6 years, 10 months ago by Saint Systems.
- This reply was modified 6 years, 10 months ago by Saint Systems.
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] WPML Compatibility: cannot translate labelHi @thomascharbit,
We just published version 2.1.12 which fixes this issue. Please update to 2.1.12 and let us know if you still see any issues or have any questions.
- This reply was modified 6 years, 10 months ago by Saint Systems. Reason: removed extraneous parentheses
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] WPML issueHi @biancaakanaonda,
Thanks for the link! This had been on our list of issues to fix.
We just published version 2.1.12 which fixes this issue. Please update to 2.1.12 and let us know if you still see any issues or have any questions.
Thanks again!
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] Specific list for Specific Event ProductsThis will be a feature in our upcoming pro version: https://www.saintsystems.com/products/woocommerce-mailchimp-pro/
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] GDPR and MailChimpIMPORTANT: The code sample above had an incorrect tag in the GDPR footer that could break the WooCommerce checkout button.
Here is the corrected code:
add_action('ss_wc_mailchimp_before_opt_in_checkbox', function () { echo '<p class="form-row" id="gdpr-label"><strong>Marketing Permissions</strong></p>'; echo '<p class="form-row" id="gdpr-description">Saint Systems, LLC will use the information you provide on this form to be in touch with you and to provide updates and marketing. Please let us know all the ways you would like to hear from us:</p>'; }); add_action( 'ss_wc_mailchimp_after_opt_in_checkbox', function() { echo '<p class="form-row" id="gdpr-legal">You can change your mind at any time by clicking the unsubscribe link in the footer of any email you receive from us, or by contacting us at [email protected]. We will treat your information with respect. For more information about our privacy practices please visit our website. By clicking below, you agree that we may process your information in accordance with these terms.</p>'; echo '<p class="form-row" id="gdpr-footer"><a href="https://www.mailchimp.com/gdpr" target="_blank" style="float:left"><img src="https://cdn-images.mailchimp.com/icons/mailchimp-gdpr.svg" alt="GDPR" style="width:65px;height:65px"></a> We use MailChimp as our marketing automation platform. By clicking below to submit this form, you acknowledge that the information you provide will be transferred to MailChimp for processing in accordance with their <a href="https://mailchimp.com/legal/privacy/" target="_blank">Privacy Policy</a> and <a href="https://mailchimp.com/legal/terms/" target="_blank">Terms</a>.</p>'; } );
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] Is GDPR on your roadmapPlease refer to this post for more information on GDPR.
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] Make Opt-in checkbox requiredPlease see this new post for further information on GDPR how to mimic the MailChimp GDPR forms.
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] Hyperlinks in opt-in messagePlease see this new post for further information on GDPR how to mimic the MailChimp GDPR forms.
- This reply was modified 6 years, 10 months ago by Saint Systems.
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] Make Opt-in checkbox requiredYou can also use the hook mentioned above to support html/anchor tags in the opt-in label until we update the plugin to support that.
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] Make Opt-in checkbox requiredCan’t this be achieved using MailChimp double opt-in or by indicating the proactive consent in the checkbox label and defaulting to unchecked?
We’re open to modifying the behavior if there is truly a need or GDPR requirement that the plugin does not support but not necessarily if it’s a preference for how to implement a GDPR requirement if the plugin already meets the need.
If you need to customize the checkbox behavior, you can extend the plugin through custom code and make the checkbox required, inialize a dialog for additional consent when the user checks the box, etc.
You can hook into the
ss_wc_mailchimp_opt_in_checkbox
filter. Here’s the example usage:add_filter( 'ss_wc_mailchimp_opt_in_checkbox', function( $value, $checkbox_default, $label ) { return '<p class="form-row woocommerce-mailchimp-opt-in"><input type="checkbox" name="ss_wc_mailchimp_opt_in" id="ss_wc_mailchimp_opt_in" class="input-checkbox" value="yes"' . ($checkbox_default == 'checked' ? ' checked="checked"' : '') . '/> <label class="checkbox" for="ss_wc_mailchimp_opt_in">' . esc_html( $label ) . '</label></p>'; }, 10, 3 );
You can customize the output based on your own logic.
Or, there are two other action hooks you can hook into if you prefer that run before and after the opt_in_checkbox. They are
ss_wc_mailchimp_before_opt_in_checkbox
andss_wc_mailchimp_after_opt_in_checkbox
. You could hook into those and output a wrapper starting div tag and ending doc tag, add hyperlinks to your GDPR terms and conditions, consent, etc., or output some custom JavaScript that hides the checkout button until the checkbox is checked.- This reply was modified 6 years, 11 months ago by Saint Systems.
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] Make Opt-in checkbox requiredIf you want to force customers to subscribe, your best bet is to just set the plugin to subscribe customers automatically.
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] Hyperlinks in opt-in messageThanks for the heads up. We’ll look into making it possible to include HTML links in the opt-in label.
Stay tuned…
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] Unable to load lists from MailChimpYou’re welcome!
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] Mailchimp auto subscribe on purchaseThis issue/error is fixed in the latest update (2.1.11).
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] Subscription failed.Great!