Jump to content

enlever le label "neuf"


Recommended Posts

Dans ton themes fichier product-list.tpl

 

Il faut supprimer ou commenter les lignes :

 
 
<!-- Desactivation New
{if isset($product.new) && $product.new == 1}
<a class="new-box" href="{$product.link|escape:'html':'UTF-8'}">
<span class="new-label">{l s='New'}</span>
</a>
{/if}
-->

Du coup il faut faire cette action partout où tu souhaites enlever le bander, product.tpl, bloc de produits sur page d'accueil, etc...

Et vider ton cache pour voir apparaitre les modifs.

 

Bonne journée

 

 

Link to comment
Share on other sites

  • 11 months later...

Comme par magie, la bande "new" est revenue sur les images

J'ai cherché partout et ça s'est aucune part :

{if isset($product.new) && $product.new == 1}
<a class="new-box" href="{$product.link|escape:'html':'UTF-8'}">
<span class="new-label">{l s='New'}</span>
</a>
{/if}

 

Si quelqu'un a une idée. Merci

  • Like 1
Link to comment
Share on other sites

  • 4 years later...

Moi non plus,  je suis sous la dernière version presta (mise à jour mineure):

Je n'ai pas les lignes en question (ou je n'arrive pas à les voir):


 

Quote

 


{extends file=$layout}

{block name='content'}
  <section id="main">

    {block name='product_list_header'}
      <h1 id="js-product-list-header">{$listing.label}</h1>
    {/block}

    <section id="products">
      {if $listing.products|count}

        <div>
          {block name='product_list_top'}
            {include file='catalog/_partials/products-top.tpl' listing=$listing}
          {/block}
        </div>

        {block name='product_list_active_filters'}
          <div class="visible--desktop">
            {$listing.rendered_active_filters nofilter}
          </div>
        {/block}

        <div>
          {block name='product_list'}
            {include file='catalog/_partials/products.tpl' listing=$listing}
          {/block}
        </div>

        <div id="js-product-list-bottom">
          {block name='product_list_bottom'}
            {include file='catalog/_partials/products-bottom.tpl' listing=$listing}
          {/block}
        </div>

      {else}
          <div id="js-product-list-top"></div>
          <div id="js-product-list">
              {include file='errors/not-found.tpl'}
          </div>
          <div id="js-product-list-bottom"></div>
      {/if}
    </section>

  </section>
{/block}

 

 

Link to comment
Share on other sites

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...