New Zenner
- Join Date:
- Dec 2007
- Posts:
- 69
- Plugin Contributions:
- 1
Post #1 by nsanford
Hi,
Is there any way to show the "Call for Price" and "Sold Out" (if out of stock) buttons together? The store is set to show out of stock items.
I tried adding the following to the function zen_get_buy_now_button in functions_general.php but nothing changed. Any help would be appreciated :)
case ($button_check->fields['product_is_call'] == '1' && ($button_check->fields['products_quantity'] <= 0 and SHOW_PRODUCTS_SOLD_OUT_IMAGE == '1')):
if ($_GET['main_page'] == zen_get_info_page($product_id)) {
$return_button = zen_image_button(BUTTON_IMAGE_SOLD_OUT, BUTTON_SOLD_OUT_ALT) .'<br /><a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . TEXT_CALL_FOR_PRICE . '</a>';
} else {
$return_button = zen_image_button(BUTTON_IMAGE_SOLD_OUT_SMALL, BUTTON_SOLD_OUT_SMALL_ALT).'<br /><a href="' . zen_href_link(FILENAME_CONTACT_US) . '">' . TEXT_CALL_FOR_PRICE . '</a>';
}
break;