refactor: add flex and wrap for featured products

staging
Dinesh Salunke 2023-12-05 16:30:43 +05:30
parent f499d818d1
commit 1d6e2a217a
4 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@
<h2 class="h2 products-section-title text-uppercase">
{l s='Best Sellers' d='Shop.Theme.Catalog'}
</h2>
<div class="products">
<div class="products flex flex-wrap">
{foreach from=$products item="product"}
{include file="catalog/_partials/miniatures/product.tpl" product=$product}
{/foreach}

View File

@ -25,7 +25,7 @@
<section class="featured-products clearfix mt-3">
<h2>{l s='Customers who bought this product also bought:' d='Shop.Theme.Catalog'}</h2>
<div class="products">
<div class="products flex flex-wrap">
{foreach from=$products item="product"}
{include file="catalog/_partials/miniatures/product.tpl" product=$product}
{/foreach}

View File

@ -27,7 +27,7 @@
<h2 class="h2 products-section-title text-uppercase">
{l s='On sale' d='Shop.Theme.Catalog'}
</h2>
<div class="products">
<div class="products flex flex-wrap">
{foreach from=$products item="product"}
{include file="catalog/_partials/miniatures/product.tpl" product=$product}
{/foreach}

View File

@ -24,7 +24,7 @@
*}
<section class="featured-products clearfix mt-3">
<h2>{l s='Viewed products' d='Shop.Theme.Catalog'}</h2>
<div class="products">
<div class="products flex flex-wrap">
{foreach from=$products item="product"}
{include file="catalog/_partials/miniatures/product.tpl" product=$product}
{/foreach}