moving header text on zencart item pages (works fine on the category pages)

hi all. i'm attempting to fix some minor issues in my zencart store. i'm running v150. it was previously handled by a developer so i'm working within the constraints of someone elses code...

basically, all i'm trying to do is move a block of text to a different part of the page. sounds simple enough right? unfortunately there's some issues going on with the code. here's the way i'd like the text to appear on all the individual product pages, which currently appears perfectly on the main category/PARENT pages as seen in the screenshot below:

screenshot of parent pages with correct text:
http://i589.photobucket.com/albums/ss336/ryanpatrickoconnor/screenshot-correct_zps8e16e963.jpg

actual link of a parent page with correct text: (spaces added to URL to prevent search engines from indexing this thread):
http://c u l tivatedreef.com/index.php?main_page=index&cPath=2


and here's the way it's looking on the individual item pages, for whatever reason:

screenshot of an item page with incorrect text:
http://i589.photobucket.com/albums/ss336/ryanpatrickoconnor/screenshot_zps14d2a8d8.jpg

actual link of an individual item page with incorrect text: (spaces added to URL to prevent search engines from indexing this thread):
http://c u l tivatedreef.com/index.php?main_page=product_info&cPath=19_2&products_id=224


in zencart, i've discovered that the tpl_main_page.php file of my template controls the product pages and that the tpl_index_product_list.php file of my template controls the category/parent pages. so of course, i'm trying to take the portion of the text/code from the category pages (tpl_index_product_list.php file) that seems to be controlling this text/header area since it's the one that displays correct, this part here:

<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div>

Open in new window


as opposed to this part of the product/item pages (tpl_main_page.php file) which seems to control the text/header area that's out of whack:

<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, ''); echo zen_get_category_description(zen_get_products_category_id((int)$_GET['products_id']), (int)$_SESSION['languages_id']) ?></div>

Open in new window



unfortunately it's not as simple as swapping the good code above in place of the bad one as that didn't work.. i've also attempted to to put the good code into different spots of the other file.. no luck yet.

any php experts have any ideas before i compress the text onto the images and call it good? that's my easy "solution" at this point, although not ideal since it's not SEO friendly or easy to edit in the future...

thanks in advance.
LVL 4
lgg733Asked:
Who is Participating?
 
Ray PaseurConnect With a Mentor Commented:
D'Oh (slaps forehead).  I just posted a Request Attention for this question referring to Zend instead of ZenCart, but maybe the moderators will figure that out and realize that I had a brain fart.
... compress the text onto the images
If you choose to go that way it does not have to be any kind of an SEO disaster.  Just put the text into the ALT and TITLE attributes of the images / links.  And if you can get the text into the <title> tag on the page, that will help a lot with SEO.
0
 
lgg733Author Commented:
thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.