Changeset 3457580
- Timestamp:
- 02/10/2026 12:13:45 AM (9 days ago)
- Location:
- mailchimp-for-woocommerce/trunk/admin/v2/templates/confirmation/tabs
- Files:
-
- 2 edited
-
audience.php (modified) (1 diff)
-
store-info.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mailchimp-for-woocommerce/trunk/admin/v2/templates/confirmation/tabs/audience.php
r3457552 r3457580 163 163 </div> 164 164 </div> 165 166 <!-- SMS Marketing Consent Settings -->167 <div class="mc-wc-tab-content-box has-underline">168 <div class="mc-wc-tab-content-title">169 <h3><?php esc_html_e( 'SMS Marketing Consent', 'mailchimp-for-woocommerce' ); ?></h3>170 </div>171 <div class="mc-wc-tab-content-description-small">172 <?php esc_html_e( 'Collect SMS marketing consent at checkout and sync phone numbers to Mailchimp for SMS campaigns.', 'mailchimp-for-woocommerce' ); ?>173 </div>174 175 <?php176 $sms_enabled = ( array_key_exists( 'mailchimp_sms_enabled', $options ) && ! is_null( $options['mailchimp_sms_enabled'] ) ) ? (bool) $options['mailchimp_sms_enabled'] : false;177 ?>178 179 <!-- Enable SMS Checkbox -->180 <div class="mc-wc-contact-import-ref-choose" style="margin-bottom: 20px;">181 <div class="mc-wc-import-list-sync">182 <div class="mc-wc-import-list-sync-item">183 <div class="mc-wc-import-list-sync-input">184 <div class="mc-wc-checkbox">185 <label class="mc-wc-checkbox-label fw-700">186 <input type="checkbox" id="mailchimp_sms_enabled" name="<?php echo esc_attr( $this->plugin_name ); ?>[mailchimp_sms_enabled]" value="1" <?php if ($sms_enabled) { echo "checked"; } ?>>187 <?php esc_html_e( 'Enable SMS consent collection at checkout', 'mailchimp-for-woocommerce' ); ?>188 </label>189 </div>190 </div>191 <div class="mc-wc-import-list-sync-description">192 <?php esc_html_e( 'Note: Your Mailchimp account must have an approved SMS application to use this feature. The SMS consent checkbox will appear unchecked by default at checkout with compliant label and disclaimer text.', 'mailchimp-for-woocommerce' ); ?>193 </div>194 </div>195 </div>196 </div>197 </div>198 165 </div> -
mailchimp-for-woocommerce/trunk/admin/v2/templates/confirmation/tabs/store-info.php
r3457552 r3457580 142 142 <label class="mc-wc-checkbox-label fw-700"> 143 143 <input type="checkbox" name="<?php echo esc_attr( $this->plugin_name ); ?>[mailchimp_sms_consent_enabled]" value="1" <?php if ($options['mailchimp_sms_consent_enabled']) { echo "checked"; } ?>> 144 <?php esc_html_e( ' Enable SMS consent in checkout', 'mailchimp-for-woocommerce' ); ?>144 <?php esc_html_e( 'SMS consent checkbox', 'mailchimp-for-woocommerce' ); ?> <span style="background-color: #E4E5E7; padding: 2px 8px 2px 8px; gap: 4px; border-radius: 4px;">BETA</span> 145 145 </label> 146 146 </div> 147 <p class="description"> 148 Add a checkbox and a phone number field to checkout to allow users to opt-in to SMS marketing. The text associated with this consent is not editable. 149 </p> 147 150 </div> 151 148 152 <?php endif; ?> 149 153
Note: See TracChangeset
for help on using the changeset viewer.