OK! Thank you very much, Nicolas.
I put these code:
//modifica marco
$confronto = "Ricambi accessori";
if ( $this->element->category_name != $confronto) {
if($this->row->product_quantity == 1 && JText::_('X_ITEM_IN_STOCK') != 'X_ITEM_IN_STOCK')
$text = JText::sprintf('X_ITEM_IN_STOCK', $this->row->product_quantity);
else
$text = JText::sprintf('X_ITEMS_IN_STOCK', $this->row->product_quantity);
}
//fine modifica di marco
and work very well, but in the category "Ricambi accessori" show angain the
NO_STOCK where can i change the code?
Thank in advance
Marco