Jump to content

Résolu-Pb affichage carousel sur manufacturer, recherche,...


Recommended Posts

Bonjour,

j'ai un souci d'affichage d'un carousel.

Celui-ci s'affiche bien sur les catégories, mais pas sur les pages marque et recherche. C'est le carousel des promotions.

Voici le code

<div class="specials-products widget widget-categories mb-4 pb-4 border-bottom">
{if $page.page_name == 'category'}
  <p class="h3 pb-3 widget-title">Bons plans{*l s='On sale' d='Shop.Theme.Catalog'*}</p>
  {include file='catalog/_partials/products-list-left.tpl' rounded_img=true products=$products carousel=true}
  {else}
    <p class="h3 pb-3 widget-title">Bons plans{*l s='On sale' d='Shop.Theme.Catalog'*}</p>
    {include file='catalog/_partials/products-list.tpl' products=$products carousel=true}
  {/if}
  <div class="text-center pt-3">
    <a class="btn btn-outline-accent" href="{$allSpecialProductsLink}">{l s='More products' d='Shop.Theme.Actions'}<i class="czi-arrow-right mr-n1 ml-2"></i></a>
  </div>
</div>

Par contre, si j'ajoute {if $page.page_name == 'manufacturer'} ça fonctionne (ajouter un nouveau block), mais le block catégorie reste.

Edited by Manu-shop
resolu (see edit history)
Link to comment
Share on other sites

  • Manu-41 changed the title to Résolu-Pb affichage carousel sur manufacturer, recherche,...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...