You could change the functions_general.php and around line 1339 you will see:
Code:
switch (true) {
// cannot be added to the cart
case (zen_get_products_allow_add_to_cart($product_id) == 'N'):
return $additional_link;
break;
change to read:
Code:
switch (true) {
// cannot be added to the cart
case (zen_get_products_allow_add_to_cart($product_id) == 'N'):
return $additional_link;
break;
// not available for purchase based on products_date_available
case ($button_check->fields['products_date_available'] > date('Y-m-d H:i:s')):
return 'NOT AVAILABLE YET';
break;
You will need to tweak this a bit here and there but this will stop the Add to Cart on products that are Upcoming Products ... everywhere in the shop ...
Nifty the power of the functions in Zen Cart, eh?
Bookmarks