Jump to content

affichage page produit se duplique apres mise au panier


Recommended Posts

Bonjour 

j'ai créer ce code dans la fiche produit prestahop 1.7

 {if isset($product.reference_to_display)}
 
 {if $product.id_category_default == 3}
      <div class="label_product_fiche">
      <h6>Ce livre est un <label class="label">{l d='Shop.Theme.Catalog'} </label>
        <span itemprop="sku">{$product.reference_to_display}</span>
		</h6>
      </div><br />
   {else}
    <div class="label_product_fiche">
      <h6>Livre papier </label>
      
		</h6>
      </div><br />
{/if}
{/if}

Mais lors de l'ajout dans le panier et qu'on continue nos achat on reviens sur la page et ca se reaffiche le label une deuxieme fois si je remet au panier ce la reaffiche 3 fois etcc..

 

merci pour vos conseils ?

 

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