Use WC functions to get short and full description in products widget

[MAILPOET-1843]
This commit is contained in:
Ján Mikláš
2019-04-02 12:56:26 +02:00
committed by Rostislav Wolný
parent 3f9da22500
commit b40e4bb28a
5 changed files with 20 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ Module.ProductsBlockModel = base.BlockModel.extend({
terms: [], // List of category and tag objects
search: '', // Search keyword term
inclusionType: 'include', // 'include'|'exclude'
displayType: 'titleOnly', // 'short'|'full'|'titleOnly'
displayType: 'excerpt', // 'excerpt'|'full'|'titleOnly'
titleFormat: 'h1', // 'h1'|'h2'|'h3'
titleAlignment: 'left', // 'left'|'center'|'right'
titleIsLink: false, // false|true