refactor: remove filter from custom made page and add a heading

fix/facets
apurvabangali 2024-07-12 15:25:53 +05:30
parent e6036c3d83
commit cd08e38628
2 changed files with 30 additions and 0 deletions

View File

@ -22,6 +22,32 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if $page.meta.title == 'Custom made' || $page.meta.title == 'custom made' || $page.meta.title == 'Custom Made' || $page.meta.title == 'custom'}
<div class=" mx-auto h-[50vh] flex flex-col justify-center ">
<h1 class="lg:font-semibold
font-bold
lg:text-4xl
md:text-2xl
text-xl
text-center">
Curate a Perfect Wardrobe with Our Custom-Made Apparel </h1>
<p class="lg:px-36
lg:text-xl
text-lg
font-medium
px-5
text-center
xl:w-9/12
mx-auto
pt-8">
Step into our world of custom-made luxury with Brooks Bingham, offering you Custom Business Shirts,
Custom Sport Jackets, Custom Made Tuxedos, and more. </p>
</div>
{/if}
<div id="js-product-list" class="flex flex-col">
<div class="products flex flex-wrap">
{foreach from=$listing.products item="product"}
@ -31,9 +57,11 @@
{/foreach}
</div>
{if $page.meta.title != 'Custom made' && $page.meta.title != 'custom made' && $page.meta.title != 'Custom Made' && $page.meta.title != 'custom'}
{block name='pagination'}
{include file='_partials/pagination.tpl' pagination=$listing.pagination}
{/block}
{/if}
<div class="flex justify-center md:hidden my-8">
<a href="#js-product-list-header" class="btn btn-secondary font-semibold">

View File

@ -23,6 +23,7 @@
* International Registered Trademark & Property of PrestaShop SA
*}
<!--
<div class="relative flex-1 w-full max-w-[240px] group">
<button
class="dropdown-toggle relative px-4 pr-6 leading-1 w-full text-left"
@ -50,3 +51,4 @@
</div>
</div>
</div>
-->