That's weird that the language INI expression hasn't been get printed in the email.
Are you sure you are checking the correct language file?
Make sure, this expression has been defined in both of these Language file:
administrator/components/com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini
components/com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini
If still no luck, then i would suggest you to open the PHP file and enter the text there manually.
This expression is being used (only) by this PHP file:
administrator/components/com_virtuemart/models/product.php
(this PHP file is responsible to generate the email template)
In that PHP file, find these lines:
$vars['subject'] = JText::sprintf('COM_VIRTUEMART_PRODUCT_LOW_STOCK_EMAIL_SUBJECT',$vars['product_name']);
$vars['mailbody'] =JText::sprintf('COM_VIRTUEMART_PRODUCT_LOW_STOCK_EMAIL_BODY',$link, $vars['product_in_stock']);
and replace them with these:
$vars['subject'] = JText::sprintf('The product %s has a low stock',$vars['product_name']);
$vars['mailbody'] =JText::sprintf('The product %s has a stock of %d.',$link, $vars['product_in_stock']);
FYI: The
%s and
%d will be replaced by variables, so don't touch them (don't change the
S and
D letters as well, they have special meaning). But you can change the other text string as you wish. First, copy-paste this and run a test, then you can make further customization as you wish.
Regards.
Support