This is a discussion on I do not want $0 in the HTML title bar in prod info within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; I have gotten rid of all pricing information except in the shopping cart. All pricing is being done through the ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I have gotten rid of all pricing information except in the shopping cart. All pricing is being done through the "options" section. Where do I take out the $0.00 that ends up in the HTML "TITLE" bar? (The bar at the top of the browser that tells you where you are.) I have looked in general, html, prod info. I do not know where else to look. Thank you, Jessica McCarty |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| line 242-ish of catalog/includes/meta_tags.php: define('META_TAG_KEYWORDS', WEB_SITE_KEYWORDS . $mt_products_name . ' ' . $mt_products_price . ' ' . $mt_review['customers_name'] . ' ' . $mt_reviews_rating); change this to: define('META_TAG_KEYWORDS', WEB_SITE_KEYWORDS . $mt_products_name . ' ' . $mt_review['customers_name'] . ' ' . $mt_reviews_rating); (ie chop out the price bit). jw |
|
#3
| |||
| |||
| I did as you said above it did not work. But it did tell me what file I needed to edit. I did the following: In meta_tags.php where it says: case CONTENT_PRODUCT_INFO: $mt_product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_price, p.products_tax_class_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $mt_product_info = tep_db_fetch_array($mt_product_info_query); I REMOVED THIS SECTION $mt_products_price = $currencies->display_price($mt_product_info['products_price'], tep_get_tax_rate($mt_product_info['products_tax_class_id'])) . $currencies->display_price($mt_new_price, tep_get_tax_rate($mt_product_info['products_tax_class_id'])); } else { $mt_products_price = $currencies->display_price($mt_product_info['products_price'], tep_get_tax_rate($mt_product_info['products_tax_class_id'])); } if (tep_not_null($mt_product_info['products_model'])) { $mt_products_name = $mt_product_info['products_name'] . ' [' . $mt_product_info['products_model'] . ']'; } else { $mt_products_name = $mt_product_info['products_name']; } $mt_products_description = substr(strip_tags(stripslashes($mt_product_info['products_description'])), 0, 100); define('META_TAG_TITLE', TITLE . PRIMARY_SECTION . $mt_products_name . SECONDARY_SECTION . $mt_products_price . $web_site_tagline); define('META_TAG_DESCRIPTION', TITLE . PRIMARY_SECTION . $mt_products_name . SECONDARY_SECTION . $mt_products_description . '...'); define('META_TAG_KEYWORDS', WEB_SITE_KEYWORDS . $mt_products_name); break; Sorry about the caps I did not want my words to get mixed up in the PHP Thank you for your help, Jessica McCarty |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| froogle_bizrate_yahoo_feeds - generating bad links to prod. | lil-raskals | osCommerce 2.2 Modification Help | 0 | 11-15-2006 05:51 AM |
| Modules disappeared on prod server no change for a while URG | kopoba11 | osCMax v1.7 Discussion | 1 | 10-20-2005 09:20 PM |
| How 2 change <title>osCommerce</title> | vannelle | osCommerce 2.2 Modification Help | 3 | 06-08-2004 04:25 PM |
| Need $0.00 to go away everywhere but prod attributes | eviternity | osCMax v1.7 Discussion | 2 | 05-25-2004 09:57 AM |
| Title Bar | Anonymous | osCMax v1.7 Discussion | 1 | 11-13-2003 06:36 AM |