2021-11-02 14:42:07 +00:00
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
import { __ } from '@wordpress/i18n';
|
2022-06-29 07:42:02 +00:00
|
|
|
export const BLOCK_SLUG = 'woocommerce/legacy-template';
|
|
|
|
|
2022-09-06 09:52:33 +00:00
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
|
|
|
import { TemplateDetails } from './types';
|
|
|
|
|
|
|
|
export const TEMPLATES: TemplateDetails = {
|
2021-11-03 16:55:52 +00:00
|
|
|
'single-product': {
|
|
|
|
title: __(
|
2022-01-05 18:18:23 +00:00
|
|
|
'WooCommerce Single Product Block',
|
2021-11-03 16:55:52 +00:00
|
|
|
'woo-gutenberg-products-block'
|
|
|
|
),
|
|
|
|
placeholder: 'single-product',
|
|
|
|
},
|
|
|
|
'archive-product': {
|
|
|
|
title: __(
|
2022-01-05 18:18:23 +00:00
|
|
|
'WooCommerce Product Grid Block',
|
2021-11-03 16:55:52 +00:00
|
|
|
'woo-gutenberg-products-block'
|
|
|
|
),
|
|
|
|
placeholder: 'archive-product',
|
|
|
|
},
|
|
|
|
'taxonomy-product_cat': {
|
|
|
|
title: __(
|
2022-01-05 18:18:23 +00:00
|
|
|
'WooCommerce Product Taxonomy Block',
|
2021-11-03 16:55:52 +00:00
|
|
|
'woo-gutenberg-products-block'
|
|
|
|
),
|
|
|
|
placeholder: 'archive-product',
|
|
|
|
},
|
|
|
|
'taxonomy-product_tag': {
|
|
|
|
title: __(
|
2022-01-05 18:18:23 +00:00
|
|
|
'WooCommerce Product Tag Block',
|
2021-11-03 16:55:52 +00:00
|
|
|
'woo-gutenberg-products-block'
|
|
|
|
),
|
|
|
|
placeholder: 'archive-product',
|
|
|
|
},
|
2022-11-16 13:37:41 +00:00
|
|
|
'taxonomy-product_attribute': {
|
|
|
|
title: __(
|
|
|
|
'WooCommerce Product Attribute Block',
|
|
|
|
'woo-gutenberg-products-block'
|
|
|
|
),
|
|
|
|
placeholder: 'archive-product',
|
|
|
|
},
|
2022-06-29 07:42:02 +00:00
|
|
|
'product-search-results': {
|
|
|
|
title: __(
|
|
|
|
'WooCommerce Product Search Results Block',
|
|
|
|
'woo-gutenberg-products-block'
|
|
|
|
),
|
|
|
|
placeholder: 'archive-product',
|
|
|
|
},
|
2021-11-02 14:42:07 +00:00
|
|
|
};
|