Line 99 builds the link for the more info ...
Code:
$products_link = '<a href="' . zen_href_link(zen_get_info_page($products_all->fields['products_id']), 'cPath=' . zen_get_generated_category_path_rev($products_all->fields['master_categories_id']) . '&products_id=' . $products_all->fields['products_id']) . '">' . 'xxx' . MORE_INFO_TEXT . '</a>';
NOTE: the xxx added to see this on the Catalog when Products are Sold Out ...
Line 100 is trying to get the proper Buy Now button ...
Code:
$display_products_button = zen_get_buy_now_button($products_all->fields['products_id'], $the_button, $products_link) . '<br />' . zen_get_products_quantity_min_units_display($products_all->fields['products_id']) . str_repeat('<br clear="all" />', substr(PRODUCT_ALL_BUY_NOW, 3, 1));
and what that does is passes to the zen_get_buy_now_button the $products_link which is what the zen_get_buy_now_button function should pass back as a link, if the Buy Now/Add to Cart is not allowed for the Product, such as it is Sold Out ...
So if line 99 was not passing the link with the more info on it to the zen_get_buy_now_button but rather passed it a blank as in comment out the existing line and add below it:
$products_link = '';
then the more info link would not show on the Sold Out at all and you would only see a more info on the right based on the length of the Product Description ...
Does that help clarify this?
Bookmarks