Hi, using 1.39h and will try and keep it as simple as possible because I think I am close?
I have tried the Images for Titles add-on too, and it doesn't work for this specifically. But I am trying to take a little of that and apply it to a specific place in my php to call an image instead of the Product Title-->
The Page example:
http://www.paynemason.com/Showcase/p...ndex&cPath=2_7
**Where it says "Black Lion Robusto Primier" in Grey, to the right of the product image - only in this spot - is where I want to place an image. Not anywhere else the Product Name or _id is called in to show "Black Lion Robusto Primier" . I only want to change the the title to an image where it is listed under it's category.
Here is the hack/image call from the Add-on Image for Title modification to tpl_product_info_display.php
<!--bof Product Name-->
<h1 id="productName" class="productGeneral"><?php echo title_image_exists($products_name, 'prodname' . $_GET['products_id']); ?></h1>
<!--eof Product Name-->
So I figured to find and switch out id="itemTitle" (* id I'm getting with firebug where these product titles I want changed are) with id=productName. Problem I'm having is putting this in the right spot in the following php page:
/includes/templates/template_default/common/product_listing.php
and
/includes/modules/product_listing.php
--because these are the only two pages calling for "itemTitle" like this:
$lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'manufacturers_id=' . $_GET['manufacturers_id'] . '&products_id=' . $listing->fields['products_id']) . '">' . $listing->fields['products_name'] . '</a></h3><div>
and
$lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing->fields['products_id']) . '">
or this one in includes/modules/product_listing
'<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id'] > 0) ?
so I tried to put that code from the product_info_display edit to the product_listing page but can't seem to get it. Anybody done this or have a different way of looking at it?
Thanks!


Reply With Quote

