<?php
/**
 * Title: Product grid — Recently added
 * Slug: iconvert-shoply/recently-added
 * Categories: iconvert-shoply, query, woocommerce
 * Description: Four-column grid of the most recently added products, with a "View all" link.
 * Keywords: products, grid, recent, new
 * Block Types: woocommerce/product-collection
 */
?>
<!-- wp:group {"align":"full","className":"iconvert-shoply-recently","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained","contentSize":"1232px"}} -->
<div class="wp-block-group alignfull iconvert-shoply-recently" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:heading {"level":4,"style":{"typography":{"fontWeight":"300","lineHeight":"1.6"},"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}},"fontSize":"large"} -->
<h4 class="wp-block-heading has-large-font-size" style="margin-bottom:var(--wp--preset--spacing--40);font-weight:300;line-height:1.6"><?php esc_html_e( 'Recently added', 'iconvert-shoply' ); ?></h4>
<!-- /wp:heading -->

<!-- wp:woocommerce/product-collection {"queryId":3,"query":{"perPage":8,"pages":0,"offset":0,"postType":"product","order":"desc","orderBy":"date","search":"","exclude":[],"inherit":false,"taxQuery":[],"isProductCollectionBlock":true,"featured":false,"woocommerceOnSale":false,"woocommerceStockStatus":["instock","outofstock","onbackorder"],"woocommerceAttributes":[],"woocommerceHandPickedProducts":[]},"tagName":"div","displayLayout":{"type":"flex","columns":4,"shrinkColumns":true},"dimensions":{"widthType":"fill"},"collection":"woocommerce/product-collection/new-arrivals","queryContextIncludes":["collection"]} -->
<div class="wp-block-woocommerce-product-collection"><!-- wp:woocommerce/product-template -->
<!-- wp:woocommerce/product-image {"showSaleBadge":false,"imageSizing":"thumbnail","isDescendentOfQueryLoop":true,"aspectRatio":"1","style":{"border":{"radius":"4px"}}} /-->

<!-- wp:post-title {"textAlign":"left","isLink":true,"style":{"spacing":{"margin":{"top":"var:preset|spacing|20","bottom":"0"}},"typography":{"fontWeight":"300","lineHeight":"1.143"}},"fontSize":"medium","__woocommerceNamespace":"woocommerce/product-collection/product-title"} /-->

<!-- wp:woocommerce/product-price {"isDescendentOfQueryLoop":true,"textAlign":"left","style":{"typography":{"fontSize":"18px","fontWeight":"400","lineHeight":"1.6"}}} /-->

<!-- wp:woocommerce/product-button {"textAlign":"left","isDescendentOfQueryLoop":true,"className":"is-style-link","fontSize":"x-small"} /-->
<!-- /wp:woocommerce/product-template --></div>
<!-- /wp:woocommerce/product-collection --></div>
<!-- /wp:group -->
