diff --git a/mailpoet/assets/js/src/newsletter_editor/blocks/coupon.ts b/mailpoet/assets/js/src/newsletter_editor/blocks/coupon.ts index dba9527cfd..128bd546d3 100644 --- a/mailpoet/assets/js/src/newsletter_editor/blocks/coupon.ts +++ b/mailpoet/assets/js/src/newsletter_editor/blocks/coupon.ts @@ -66,6 +66,10 @@ Module.CouponBlockSettingsView = base.BlockSettingsView.extend({ this.changeField, 'expiryDay', ), + 'change .mailpoet_field_coupon_free_shipping': _.partial( + this.changeBoolCheckboxField, + 'freeShipping', + ), 'change .mailpoet_field_coupon_alignment': _.partial( this.changeField, 'styles.block.textAlign', diff --git a/mailpoet/views/newsletter/templates/blocks/coupon/settings.hbs b/mailpoet/views/newsletter/templates/blocks/coupon/settings.hbs index 90c671da9a..961cd755cf 100644 --- a/mailpoet/views/newsletter/templates/blocks/coupon/settings.hbs +++ b/mailpoet/views/newsletter/templates/blocks/coupon/settings.hbs @@ -15,36 +15,76 @@