2021-11-02 14:42:07 +00:00
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
import { __ } from '@wordpress/i18n';
|
|
|
|
|
2021-11-03 16:55:52 +00:00
|
|
|
export const TEMPLATES: Record< string, Record< string, string > > = {
|
|
|
|
'single-product': {
|
|
|
|
title: __(
|
|
|
|
'WooCommerce Single Product Template',
|
|
|
|
'woo-gutenberg-products-block'
|
|
|
|
),
|
|
|
|
placeholder: 'single-product',
|
|
|
|
},
|
|
|
|
'archive-product': {
|
|
|
|
title: __(
|
|
|
|
'WooCommerce Product Archive Template',
|
|
|
|
'woo-gutenberg-products-block'
|
|
|
|
),
|
|
|
|
placeholder: 'archive-product',
|
|
|
|
},
|
|
|
|
'taxonomy-product_cat': {
|
|
|
|
title: __(
|
|
|
|
'WooCommerce Product Taxonomy Template',
|
|
|
|
'woo-gutenberg-products-block'
|
|
|
|
),
|
|
|
|
placeholder: 'archive-product',
|
|
|
|
},
|
|
|
|
'taxonomy-product_tag': {
|
|
|
|
title: __(
|
|
|
|
'WooCommerce Product Tag Template',
|
|
|
|
'woo-gutenberg-products-block'
|
|
|
|
),
|
|
|
|
placeholder: 'archive-product',
|
|
|
|
},
|
2021-11-02 14:42:07 +00:00
|
|
|
};
|