osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Product name not showing for Popup Images

This is a discussion on Product name not showing for Popup Images within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I'm trying to get the Products name to appear in the Title and description tags of a single product's Popup ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 07-25-2008, 07:43 PM
New Member
 
Join Date: May 2008
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
Marotta1 is on a distinguished road
Default Product name not showing for Popup Images

I'm trying to get the Products name to appear in the Title and description tags of a single product's Popup image window. For some reason, they are not showing up.

My code in meta-tags.php is below:
Code:
	// Content Popup Image
  case CONTENT_POPUP_IMAGE:
    define('META_TAG_TITLE', $products['products_name'] . PRIMARY_SECTION . TITLE . $web_site_tagline);
	define('META_TAG_DESCRIPTION', TITLE . PRIMARY_SECTION . $products['products_name'] . SECONDARY_SECTION . WEB_SITE_KEYWORDS);
	define('META_TAG_KEYWORDS', WEB_SITE_KEYWORDS . $products['products_name']);
    break;
Should this work as is or is there a bug in the code? I'm guessing maybe the $products['products_name'] is incorrect or not defined here. Can anyone offer any help for a solution?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 07-27-2008, 05:02 PM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 468
Thanks: 4
Thanked 79 Times in 73 Posts
Rep Power: 8
met00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nice
Default Re: Product name not showing for Popup Images

I don't have a minimal verson of OscMAX running, but isn't the popup run by popup_image.php ? if so the product query is:

Code:
 $products_query = tep_db_query("select pd.products_name, p.products_image from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and pd.language_id = '" . (int)$languages_id . "'");
  $product_info = tep_db_fetch_array($products_query);
which would make the data in the array your looking for $products_info['products_name']

again, I don't use popup image as I use a shadowbox to display my images in the current browser window, but that's where I would start my search.
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
popup images not working ctbhost osCommerce 2.2 Discussion 1 07-21-2008 03:07 AM
Resize Popup Images michael_s New osCommerce Contributions 0 03-27-2008 06:21 AM
Theft Safe Popup Images michael_s New osCommerce Contributions 0 09-06-2007 06:00 AM
mopic popup not showing up bhejr osCMax v2 Features Discussion 1 05-03-2006 11:02 AM
Product images not showing? Picman osCommerce 2.2 Modification Help 2 06-12-2003 03:01 PM


All times are GMT -8. The time now is 01:14 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax