Jump to content

Supprimer "Aucun produit disponible pour le moment"


Recommended Posts

  • 3 weeks later...

Salut @eric vzseggse

Essayez de modifier le \themes\{votre thème}\templates\catalog\listing\product-list.tpl
Ici, vous pouvez commenter ou supprimer le bloc suivant comme ceci :

Avant:

<div id="js-product-list">
  	{capture assign="errorContent"}
      	<h4>{l s='No products available yet' d='Shop.Theme.Catalog'}</h4>
      	<p>{l s='Stay tuned! More products will be shown here as they are added.' d='Shop.Theme.Catalog'}</p>
  	{/capture}

  	{include file='errors/not-found.tpl' errorContent=$errorContent}
</div>


Après:

<div id="js-product-list">
  	{* 
	{capture assign="errorContent"}
      	<h4>{l s='No products available yet' d='Shop.Theme.Catalog'}</h4>
      	<p>{l s='Stay tuned! More products will be shown here as they are added.' d='Shop.Theme.Catalog'}</p>
  	{/capture}

  	{include file='errors/not-found.tpl' errorContent=$errorContent}
	*}
</div>
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...