product_listing is the right place. It is modified by lots of mods but it looks like you are using the default version so I'll use those line numers:
On line 115 find:
Code:
$lc_button = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';
This is a simple 'more info' link. It is assigned to the variable $lc_button here. Do not do anything yet as this is just to show you what the code for a 'more info' link looks like.
If you just want the more info link to appear below the buy now or add to cart regardless of whether you are using cart quantities or not go to line 148:
Code:
$lc_text .= '<br />' . zen_get_buy_now_button($listing->fields['products_id'], $the_button, $products_link) . '<br />' . zen_get_products_quantity_min_units_display($listing->fields['products_id']);
This is (some of) where the final variable $lc_text (that is stored in an array and then output to the table in a different file) is created if we are in a price table cell.
Then, just to see how it works add this(scroll left - the changes are in red):
Code:
$lc_text .= '<br />' . zen_get_buy_now_button($listing->fields['products_id'], $the_button, $products_link) . '<br />' . zen_get_products_quantity_min_units_display($listing->fields['products_id']). '<br />'.'New Text Here' ;
Now instead of the 'New Text Here' put in the code from line 115 (the bit after the equals sign) to get:
Code:
$lc_text .= '<br />' . zen_get_buy_now_button($listing->fields['products_id'], $the_button, $products_link) . '<br />' . zen_get_products_quantity_min_units_display($listing->fields['products_id']). '<br />'.'<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>' ;
There you go...
Bookmarks