Jump to content

Come cancello, o tolgo la scritta "ci sono x prodotti..."


Recommended Posts

Dovresti provare a modificare il codice del file categories.tpl presente nella cartella themes\prestashop\ se usi il tema classico.

 

alla riga 35:

{if $category->id == 1 OR $nb_products == 0}{l s='There are no products.'}

{else}

{if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if}

{$nb_products}

{if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if}

{/if}

In teoria eliminando queste righe dovresti risolvere, ma non ho provato, quindi prima fai una copia del file e poi fai dei test.

Durante le prove devi abilitare la compilazione (preferenze->performance)

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