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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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;
|
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| 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);
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 |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |