Re: Any idea how to use "dynamic ajax search" with Smart Search
I've just had Smart Search Kindly updated by Bill so that on 4.4.1 onwards, it now displays available for sale products which have no stock. This is as I have a pre-order / backorder mod.
However I now could do with the Dynamic Ajax Search to do the same as it currnetly only show products that have more than 1 in stock.
The code Bill added was to "smart_search_query_sql.php" as follows:
if (isset($config['General']['show_outofstock_products']))
$config['General']['disable_outofstock_products'] = $config['General']['show_outofstock_products'] == 'Y' ? 'N' : 'Y';
Can "dsearch.php" be altered so that it brings up available for sale "0" stock products also?
__________________
X-Cart Gold V 4.4.1
|