ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Root in the title bar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Root in the title bar

 Post Reply Post Reply Page  12>
Author
Message
ammonihah View Drop Down
Groupie
Groupie


Joined: 18-April-2008
Location: United States
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ammonihah Quote  Post ReplyReply Direct Link To This Post Topic: Root in the title bar
    Posted: 18-April-2008 at 10:41am
Anybody know if there is a way to change the title bar on the viewcategories.asp page so that it does not say root?
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 18-April-2008 at 11:38am
I took a look at your site & see what you mean.

The title is generated in :
pc/include-metatags.asp &  has some default values coded, but then builds it & the metatags dynamically if possible.
I'm surprised it says root instead of "Product Cart Shopping Software" - or something more specific.
Root is the name of the very top level of the categories so I guess that's where it's coming from. HTH
 


Edited by Hamish - 18-April-2008 at 11:51am
Back to Top
ammonihah View Drop Down
Groupie
Groupie


Joined: 18-April-2008
Location: United States
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ammonihah Quote  Post ReplyReply Direct Link To This Post Posted: 18-April-2008 at 1:27pm

Originally posted by Hamish Hamish wrote:

I took a look at your site & see what you mean.

The title is generated in :
pc/include-metatags.asp &  has some default values coded, but then builds it & the metatags dynamically if possible.
I'm surprised it says root instead of "Product Cart Shopping Software" - or something more specific.
Root is the name of the very top level of the categories so I guess that's where it's coming from. HTH
 

Sure would like to know how to change it so that my title is more seo friendly.

Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 18-April-2008 at 1:43pm

Open the file /pc/include-metatags.asp and find this section and edit the 3 specified lines:

' ************************************************************ ******************
' Edit the content for the following constants
' ************************************************************ ******************

' The following is used as the page title when the page that is being loaded is not
' a product or category page. If it is a product or category page, the page title is
' the product name and category name respectively. Replace the ProductCart title
' shown below with your own.
Const DefaultTitle = "ProductCart shopping cart software"

' The following is used as the "Content" for the default "Keywords" meta tag. When the
' page is a product or category page, the product or category names are also added to
' the keywords. Replace the following keywords with your own.
Const DefaultKeywords = "shopping cart software, ecommerce software, asp shopping cart, shopping carts, ecommerce solutions, e-commerce, ProductCart, Early Impact"

' The following is used as the "Content" for the default "Description" meta tag. When the
' page is a product or category page, the product or category descriptions replace the
' default category description.
Const DefaultDescription = "We offer shopping cart software to run ecommerce stores. Our shopping carts are used by businesses to build and manage an online storefront."

Back to Top
EarlJ View Drop Down
Newbie
Newbie


Joined: 02-May-2007
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote EarlJ Quote  Post ReplyReply Direct Link To This Post Posted: 18-April-2008 at 2:55pm
Greg,

editing the /pc/include-metatags.asp doesn't take care of the issue.

I believe how the include works is that it pulls the "category name" and inserts it into the title bar.  Which works perfectly when you are in 1 category.  The problem is that the "main category" that holds all of the categories is named root.

So when you access the viewcategories.asp page the "category" name being called is root.

Is there a way to change root to another name, such as Categories or to hard code it?
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 18-April-2008 at 3:20pm

Oh, ok. I see that now. I'm so accustomed to newbies not updating the default meta tags I thought that's what he was referring to.

My guess is that the store has "root" as the name of a category and just needs to be changed to something else.

Back to Top
ammonihah View Drop Down
Groupie
Groupie


Joined: 18-April-2008
Location: United States
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ammonihah Quote  Post ReplyReply Direct Link To This Post Posted: 18-April-2008 at 3:42pm
Sorry guys.  Maybe I should have been more specific.  I have about 30 level 2 categories in my cart.  They are all part of the level one category which product cart shows as "Category Name: Top Level Category (Root) which viewing ManageCategories.asp.  I want to know if the name root can be changed to something relevant to my search terms so when you browse by category in the cart my title has relevant words in in for SEO.

Edited by ammonihah - 18-April-2008 at 3:43pm
Back to Top
MarkCoyle View Drop Down
Senior Member
Senior Member


Joined: 06-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote MarkCoyle Quote  Post ReplyReply Direct Link To This Post Posted: 18-April-2008 at 3:48pm

I think you do this in the language.asp file in /includes.

This is how you do it if you mean as I have here where my root category is 'Our Music':

http://www.wovenwheatwhispers.co.uk/Folk_community/pc/viewCa tegories.asp?idCategory=77

cheers

Mark

Back to Top
ammonihah View Drop Down
Groupie
Groupie


Joined: 18-April-2008
Location: United States
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ammonihah Quote  Post ReplyReply Direct Link To This Post Posted: 18-April-2008 at 4:49pm
Looked in Languages.asp... Nothing there.  I think it would have to be in a config file or the database itself.  Still searching.
Back to Top
MarkCoyle View Drop Down
Senior Member
Senior Member


Joined: 06-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote MarkCoyle Quote  Post ReplyReply Direct Link To This Post Posted: 18-April-2008 at 4:57pm

I think I am right on this.  It is this line within languages.asp:

dictLanguage.Add "english_viewCat_P_2", "<a href='viewCategories.asp'>Our Music</a>: "

cheers

Mark

Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.