osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

I do not want $0 in the HTML title bar in prod info

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 General Mods Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 05-20-2004, 05:33 PM
New Member
 
Join Date: Apr 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
eviternity
Default I do not want $0 in the HTML title bar in prod info

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 05-21-2004, 05:43 AM
Anonymous
Guest
 
Posts: n/a
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 05-21-2004, 08:23 AM
New Member
 
Join Date: Apr 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
eviternity
Default

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

if ($mt_new_price = tep_get_products_special_price($mt_product_info['products_id'])) {
$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']));
}

TO HERE!

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

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
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


All times are GMT -8. The time now is 04:21 PM.


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