So in tpl_product_info_display.php, find the following code around Line #138 :
Code:
<?php echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>' : '') . "\n"; ?>
And change to something like:
Code:
<?php
if ($flag_show_product_info_quantity == 1) {
if ($products_quantity >0 ) {
echo ( '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>') . "\n";
} else {
echo ( '<li>' . TEXT_PRODUCT_AT_SUPPLIERS . '</li>') . "\n";
}
} else {
echo "\n";
} ?>
Then in the language file for product_info add a define like:
Code:
define('TEXT_PRODUCT_AT_SUPPLIERS', 'At Suppliers');
That what you are wanting and to apply the settings described in the previous message so that stock can go negative and still have the ability to purchase any item from the store that is "out-of-stock" (locally).
Bookmarks