forked from brooksbingham/theme-elegance
refactor: add flex and wrap for featured products
parent
f499d818d1
commit
1d6e2a217a
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue