Make the completed order template default [MAILPOET-2569]
This commit is contained in:
@@ -6,7 +6,7 @@ const BlockModel = BaseBlock.BlockModel.extend({
|
|||||||
defaults() {
|
defaults() {
|
||||||
return this._getDefaults({
|
return this._getDefaults({
|
||||||
type: 'woocommerceContent',
|
type: 'woocommerceContent',
|
||||||
selected: 'new_account',
|
selected: 'completed_order',
|
||||||
}, App.getConfig().get('blockDefaults.woocommerceContent'));
|
}, App.getConfig().get('blockDefaults.woocommerceContent'));
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@@ -7,7 +7,7 @@ const BlockModel = BaseBlock.BlockModel.extend({
|
|||||||
defaults() {
|
defaults() {
|
||||||
return this._getDefaults({
|
return this._getDefaults({
|
||||||
type: 'woocommerceHeading',
|
type: 'woocommerceHeading',
|
||||||
selected: 'new_account',
|
selected: 'completed_order',
|
||||||
}, App.getConfig().get('blockDefaults.woocommerceHeading'));
|
}, App.getConfig().get('blockDefaults.woocommerceHeading'));
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
<select id="mailpoet_heading_email_type">
|
<select id="mailpoet_heading_email_type">
|
||||||
<option value="new_account"><%= __('New account', 'woocommerce') %></option>
|
<option value="new_account"><%= __('New account', 'woocommerce') %></option>
|
||||||
<option value="processing_order"><%= __('Processing order', 'woocommerce') %></option>
|
<option value="processing_order"><%= __('Processing order', 'woocommerce') %></option>
|
||||||
<option value="completed_order"><%= __('Completed order', 'woocommerce') %></option>
|
<option value="completed_order" selected="selected"><%= __('Completed order', 'woocommerce') %></option>
|
||||||
<option value="customer_note"><%= __('Customer note', 'woocommerce') %></option>
|
<option value="customer_note"><%= __('Customer note', 'woocommerce') %></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user