Hello,
I process some test from your code view, and do like Nicolas told you, but in Nicolas' code there was a little mistake.
There were 2 "(" to start the elseif condition.
That error leads to an error page, then you told nothing happen, so there is only one solution : you don't edit the right view.
Check please your three dropdown filters, like this :
Edit the
Quantity view like I told you in
my previous message
But use this code around line
88 (on your code view) or look for this
elseif(!$in_stock) echo JText::_('NO_STOCK');
:
...
product_quantity) : JText::sprintf('X_ITEMS_IN_STOCK', $this->row->product_quantity));
elseif(!$in_stock)
echo JText::_('NO_STOCK');
?>
</span>
...
addelseif($this->row->product_quantity == -1) echo "my text"
; to have this :
...
product_quantity) : JText::sprintf('X_ITEMS_IN_STOCK', $this->row->product_quantity));
elseif($this->row->product_quantity == -1)
echo "my text";
elseif(!$in_stock)
echo JText::_('NO_STOCK');
?>
</span>
...
And that will work, I test it myself :
Regards