2023-08-24 07:59:08 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Title: Product Collection Grid
|
|
|
|
* Slug: woocommerce-blocks/product-collection-grid
|
|
|
|
* Categories: WooCommerce
|
2023-09-14 12:19:16 +00:00
|
|
|
* Block Types: woocommerce/product-collection
|
2023-08-24 07:59:08 +00:00
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2023-11-23 09:10:19 +00:00
|
|
|
<!-- wp:woocommerce/product-collection {"query":{"perPage":4,"pages":0,"offset":0,"postType":"product","order":"asc","orderBy":"title","search":"","exclude":[],"inherit":false,"taxQuery":{},"isProductCollectionBlock":true,"woocommerceOnSale":false,"woocommerceStockStatus":["instock","outofstock","onbackorder"],"woocommerceAttributes":[],"woocommerceHandPickedProducts":[]},"tagName":"div","displayLayout":{"type":"flex","columns":4,"shrinkColumns":true}} -->
|
2023-08-24 07:59:08 +00:00
|
|
|
<div class="wp-block-woocommerce-product-collection"><!-- wp:woocommerce/product-template -->
|
|
|
|
<!-- wp:woocommerce/product-image {"imageSizing":"thumbnail","isDescendentOfQueryLoop":true} /-->
|
|
|
|
|
|
|
|
<!-- wp:post-title {"textAlign":"left","level":3,"isLink":true,"style":{"spacing":{"margin":{"bottom":"0.75rem","top":"0"}},"typography":{"lineHeight":"1"}},"fontSize":"small","__woocommerceNamespace":"woocommerce/product-collection/product-title"} /-->
|
|
|
|
|
|
|
|
<!-- wp:woocommerce/product-price {"isDescendentOfQueryLoop":true,"textAlign":"left","style":{"typography":{"fontSize":"0.8rem","lineHeight":"1","fontStyle":"normal","fontWeight":"600"}}} /-->
|
|
|
|
<!-- /wp:woocommerce/product-template -->
|
|
|
|
|
|
|
|
<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"center"}} -->
|
|
|
|
<!-- wp:query-pagination-previous /-->
|
|
|
|
|
|
|
|
<!-- wp:query-pagination-numbers /-->
|
|
|
|
|
|
|
|
<!-- wp:query-pagination-next /-->
|
|
|
|
<!-- /wp:query-pagination -->
|
|
|
|
|
|
|
|
<!-- wp:query-no-results -->
|
|
|
|
<!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} -->
|
|
|
|
<p></p>
|
|
|
|
<!-- /wp:paragraph -->
|
|
|
|
<!-- /wp:query-no-results --></div>
|
|
|
|
<!-- /wp:woocommerce/product-collection -->
|