refactor: update new products module

pagebuilder
abhisheks 2023-11-22 16:55:00 +05:30
parent 1d6f7e98f3
commit b4a583a57e
1 changed files with 5 additions and 6 deletions

View File

@ -22,18 +22,17 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA * International Registered Trademark & Property of PrestaShop SA
*} *}
<section class="featured-products flex flex-col gap-8">
<section class="featured-products clearfix mt-3"> <h2 class="products-section-title text-2xl font-bold">
<h2 class="h2 products-section-title text-uppercase">
{l s='New products' d='Shop.Theme.Catalog'} {l s='New products' d='Shop.Theme.Catalog'}
</h2> </h2>
<div class="products"> <div class="products flex flex-wrap">
{foreach from=$products item="product"} {foreach from=$products item="product"}
{include file="catalog/_partials/miniatures/product.tpl" product=$product} {include file="catalog/_partials/miniatures/product.tpl" product=$product}
{/foreach} {/foreach}
</div> </div>
<a class="all-product-link float-xs-left float-md-right h4" href="{$allNewProductsLink}"> <a class="all-product-link text-2xl font-bold" href="{$allNewProductsLink}">
{l s='All new products' d='Shop.Theme.Catalog'}<i class="material-icons">&#xE315;</i> {l s='All new products' d='Shop.Theme.Catalog'}
</a> </a>
</section> </section>