Update products display options - change Read more to Buy now
[MAILPOET-1843]
This commit is contained in:
committed by
Rostislav Wolný
parent
b131afa73e
commit
0f1e01ec31
@@ -53,9 +53,9 @@ Module.ProductsBlockModel = base.BlockModel.extend({
|
||||
featuredImagePosition: 'centered', // 'centered'|'right'|'left'|'alternate'|'none'
|
||||
pricePosition: 'hidden', // 'hidden'|'above'|'below'
|
||||
readMoreType: 'link', // 'link'|'button'
|
||||
readMoreText: 'Read more', // 'link'|'button'
|
||||
readMoreText: 'Buy now', // 'link'|'button'
|
||||
readMoreButton: {
|
||||
text: 'Read more',
|
||||
text: 'Buy now',
|
||||
url: '[postLink]',
|
||||
},
|
||||
sortBy: 'newest', // 'newest'|'oldest',
|
||||
|
@@ -1345,9 +1345,9 @@
|
||||
featuredImagePosition: 'alternate', // 'centered'|'left'|'right'|'alternate'|'none',
|
||||
pricePosition: 'hidden', // 'hidden'|'above'|'below'
|
||||
readMoreType: 'link', // 'link'|'button'
|
||||
readMoreText: '<%= __('Read more') | escape('js') %>',
|
||||
readMoreText: '<%= __('Buy now') | escape('js') %>',
|
||||
readMoreButton: {
|
||||
text: '<%= __('Read more') | escape('js') %>',
|
||||
text: '<%= __('Buy now') | escape('js') %>',
|
||||
url: '[postLink]',
|
||||
context: 'posts.readMoreButton',
|
||||
styles: {
|
||||
|
@@ -179,7 +179,7 @@
|
||||
<hr class="mailpoet_separator" />
|
||||
|
||||
<div class="mailpoet_form_field">
|
||||
<div class="mailpoet_form_field_title mailpoet_form_field_title_small"><%= __('"Read more" text') %></div>
|
||||
<div class="mailpoet_form_field_title mailpoet_form_field_title_small"><%= __('"Buy now" text') %></div>
|
||||
<div class="mailpoet_form_field_radio_option">
|
||||
<label>
|
||||
<input type="radio" name="mailpoet_posts_read_more_type" class="mailpoet_posts_read_more_type" value="link" {{#ifCond model.readMoreType '==' 'link'}}CHECKED{{/ifCond}}/>
|
||||
|
Reference in New Issue
Block a user