2018-11-19 16:33:17 +00:00
|
|
|
export default {
|
|
|
|
/**
|
|
|
|
* Alignment of product grid
|
|
|
|
*/
|
|
|
|
align: {
|
|
|
|
type: 'string',
|
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Number of columns.
|
|
|
|
*/
|
|
|
|
columns: {
|
|
|
|
type: 'number',
|
|
|
|
default: wc_product_block_data.default_columns,
|
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Number of rows.
|
|
|
|
*/
|
|
|
|
rows: {
|
|
|
|
type: 'number',
|
|
|
|
default: wc_product_block_data.default_rows,
|
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
2018-12-13 17:19:55 +00:00
|
|
|
* Product category, used to display only products in the given categories.
|
2018-11-19 16:33:17 +00:00
|
|
|
*/
|
2018-12-13 17:19:55 +00:00
|
|
|
categories: {
|
|
|
|
type: 'array',
|
|
|
|
default: [],
|
2018-11-19 16:33:17 +00:00
|
|
|
},
|
|
|
|
};
|