Disregard! You let this horse to water and I was able to drink and find exactly where this was done! Schoolboy, thank you so much! Also thank you to the others who contributed as well.
for reference:
in includes/functions file functions_general.php
Original line
case ($button_check->fields['products_quantity'] <= 0 and SHOW_PRODUCTS_SOLD_OUT_IMAGE == '1'):
My line
case ($button_check->fields['products_quantity'] <= 3 and SHOW_PRODUCTS_SOLD_OUT_IMAGE == '1'):\
note the greater than equal to 3
For anyone wonder or needing this function and finding this thread in the future here is the back story.
My site is fed inventory counts from multiple wholesalers. Because of this fact if the inventory is low at a wholesaler I may not be able to secure an item before they sell out therefore leaving my customer without the product they ordered. The setting above solves this problem (sort of). What the setting does is sets a product to out of stock if the quantity is less than 3 available. This is great as a blanket setting, but occasionally i have inventory on hand (which is the case now). It would be nice and I'm sure it is possible (not a php guru) to exclude certain products from the setting but should you need to do something similar this is how it is done.
All the best,



Reply With Quote
