Forums / Templates, Stylesheets, Page Layout / How do I remove the price and product number from page title?

How do I remove the price and product number from page title?

Locked

Views: 2,386

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
20 Oct 2006, 5:28 PM
#1
dinki avatar

dinki

Zen Follower

Join Date:
Oct 2006
Posts:
206
Plugin Contributions:
0

How do I remove the price and product number from page title?

Hey guys, please excuse me if this is painfully obvious. I have searched the forum and have not found the answer to my question. Can someone please tell me what file or what option I need to change to remove the product price and product inventory number from the page title shown in the upper status bar of the web browser when viewing product_info. I'm pretty sure that this is held in the html title tag but I wasn't able to find where I should change/remove the values that I don't want to be printed.

Just to be clear, the product title for this url:

http://www.decaldepot.net/zencart/index.php?main_page=product_info&products_id=143

would go from:

Mare and Fole [80] - $3.99 : Decal Depot.net

to this:

Mare and Fole : Decal Depot.net

Many thanks!

Visit my Decal website: DecalDepot.net

20 Oct 2006, 5:36 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How do I remove the price and product number from page title?

There is a global setting in Product Info to remove the Price when the Product does not have a custom meta tag where you could define this per Product ...

Configuration ... Product Info ...

Meta Tags - Include Product Price in Title
Do you want to include the Product Price in the Meta Tag Title?

0= off 1= on

The [80] is actually the products_model and there is not a global switch for that, but you could customize the file:
/includes/modules/meta_tags.php

And remove it there ...

Again, custom Meta Tags per Product allow you to manage these settings specifically to each Product, in addition to the Title, keywords, description etc. etc.

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Oct 2006, 5:54 PM
#3
dinki avatar

dinki

Zen Follower

Join Date:
Oct 2006
Posts:
206
Plugin Contributions:
0

Re: How do I remove the price and product number from page title?

Thank you for the quick reply. I was able to turn off the price and stumble through editing the meta_tags.php file to remove the products_model. One more thing off the to-do list! :D

Visit my Decal website: DecalDepot.net

20 Oct 2006, 5:55 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How do I remove the price and product number from page title?

/me peeks around then upcoming v1.3.6 ... :unsure:

Now who went and stuck in there a global switch for the non-custom Products to turn ON/OFF the products_model in the Title ... :smartass:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!