If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / how to remove title tag from product pages?

how to remove title tag from product pages?

Locked

Started by landguy on 16 Dec 2009, 9:56 PM · Views: 3,300

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
16 Dec 2009, 9:56 PM
#1
landguy avatar

landguy

New Zenner

Join Date:
Dec 2009
Posts:
3
Plugin Contributions:
0

how to remove title tag from product pages?

I would like to remove the first part of the title tag on my product pages that is generated from the product name in the admin part of zen cart, and just use the custom title meta tag in the admin panel only. I know it's gotta be a php echo in one of the pages I just don't know which one.

Thanks

17 Dec 2009, 12:16 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: how to remove title tag from product pages?

A copy of your

includes/languages/english/meta_tags.php

Overidden in your template

Zen-Venom Get Bitten

18 Dec 2009, 12:29 PM
#3
landguy avatar

landguy

New Zenner

Join Date:
Dec 2009
Posts:
3
Plugin Contributions:
0

Re: how to remove title tag from product pages?

Thanks for the reply, I think you must be talking about this area in the meta_tags.php

// Per-Page meta-tags. Follow this pattern for individual pages you wish to override. This is useful mainly for additional pages.

// replace "page_name" with the UPPERCASE name of your main_page= value, such as ABOUT_US or SHIPPINGINFO etc.

// repeat pattern as necessary

define('META_TAG_DESCRIPTION_page_name','');

define('META_TAG_KEYWORDS_PAGE_page_name','');

define('META_TAG_TITLE_PAGE_page_name', '');

I tried this and couldn't get it to work, and i also don't want to have to enter every page. there has to be a <php echo product name or something similar in one of the files that put the product name first in the title tag. I would like to remove that and just use the title tag that i specify in the product admin area. also at the end of the title tag it has []:

Thanks

18 Dec 2009, 12:42 PM
#4
landguy avatar

landguy

New Zenner

Join Date:
Dec 2009
Posts:
3
Plugin Contributions:
0

Re: how to remove title tag from product pages?

Thanks I figured it out. Just click no in the admin meta tag area for the product.

Mark What the Product's Meta Tag Title Should Include:

Product Name:
Yes ** No**

I still need to remove the brackets and colon at the end of the title tag

[]:

Thanks

19 Dec 2009, 5:13 AM
#5
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: how to remove title tag from product pages?

Hello,

Is there a quicker way to change each products meta tags or do you have to do it one by one in admin?

3 Jun 2010, 8:02 AM
#6
jocezilla avatar

jocezilla

New Zenner

Join Date:
May 2009
Posts:
14
Plugin Contributions:
0

Re: how to remove title tag from product pages?

landguy:

Thanks I figured it out. Just click no in the admin meta tag area for the product.

Mark What the Product's Meta Tag Title Should Include:

Product Name:
Yes ** No**

I still need to remove the brackets and colon at the end of the title tag

[]:

Thanks

The brackets are from the Model in the product information (at least that was the problem for my store). I don't need a model number so I just removed it from the product in the admin panel.