Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi there, have installed Header tags and it looks brilliant. I am convined that it will help getting the store found a little easier (and my even save on Adwords I HOPE!).

 

I do have a slight problem. The Instal went reasonably ok I think and I have been abe to add titles, descriptions and keywords to a number of files including contact, about, login etc.

 

However, I have completed the Fill tags for categories and Products but thisdoes not appear at all. All that appears for categories and products is the Default entries from the top of the "Text Control"page.

Plese can anyone offer some guidance please?????

You will never learn if you don't try. And boy am I trying....!

Posted
Hi there, have installed Header tags and it looks brilliant. I am convined that it will help getting the store found a little easier (and my even save on Adwords I HOPE!).

 

I do have a slight problem. The Instal went reasonably ok I think and I have been abe to add titles, descriptions and keywords to a number of files including contact, about, login etc.

 

However, I have completed the Fill tags for categories and Products but thisdoes not appear at all. All that appears for categories and products is the Default entries from the top of the "Text Control"page.

Plese can anyone offer some guidance please?????

 

 

I have just checked the database using MYPHP Admin and I can clear and then re-populate the fields ok when using the clear all tags and fill all tags functions. However nothing shows up on a category or product except the default titles etc. I am sure that I have done something really stupid but cannot see it?

 

Please can someone offer some guidance?

 

Many thanks.

You will never learn if you don't try. And boy am I trying....!

Posted

If you look in your admin->catalog section at a product or category and the tags are set up the way you want, then there is a mistake in the index.php file. You will need to go over the instructions for that file.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

Thanks Jack! It's getting there. I have gone through the index.php file and all has been done fully.

 

The pages all come up with the default information and I can add pages such as new and specials ok. The only problem is that the categories and products still show only the default headers (and not the details of the product or category).

 

I have carried out the "fill tags" operation but that hasn't helped. I have also noticed that the file within the admin part of Header tags does not hold the HTCA checked box. IE when I put a tick in this box and click update the box reverts back to the same as before (HTCA is unchecked). Is this part of the problem and if so how do I correct it?

 

Thank you for the help and pointers so far!!

 

Paul.

You will never learn if you don't try. And boy am I trying....!

Posted

Yes, that indicates a problem and needs to be fixed. Try replacing your admin/categories.php file with the one in the contribution. If it works, then you know where to look for the problem.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
Yes, that indicates a problem and needs to be fixed. Try replacing your admin/categories.php file with the one in the contribution. If it works, then you know where to look for the problem.

 

Jack

 

Hi there,

 

I tried the suggestion above but the result was the same. My index.php file will not hold a tick in the HTCA box for some reason. It does still pick up the HTDA and HDKA fields ok though. Thi is driving me mad.

 

Please could you offer some other ideas please so that I can get the individual product tags working?

 

Very, Very, Very many thanks.

You will never learn if you don't try. And boy am I trying....!

Posted
I'm confused. The index file doesn't have the htta code in it, only the admin/categories.php file does. So I can't understand what problem you are having.

 

Jack

Thanks for the very quick reply - Really appreciate the help. Basically I seem unable to get the individual products to show up with the independant meta tag (IE the product name in the title. The explanation from the header tags popup says...............

 

* Note: The HTCA option only works for the index page. It causes the category name to be displayed in the title.

 

So, how do I set this and how can I get the header tags working on the individaul product pages and category pages?

 

Very many thanks again - It would be great to resolve this one.

 

Paul.

You will never learn if you don't try. And boy am I trying....!

Posted

First, you need to make sure the title is being stored for a product. Go to admin->catalog, pick a product and go into it. There is a meta ttitle box. There should be something in there. If not, type something in. Then go to product_info.php in the shop and make sure you have the header tags code installed. And finally go to includes/header_tags.php, and find this section of code:

	if (empty($the_product_info['products_head_title_tag'])) {
  $tags_array['title']= HEAD_TITLE_TAG_ALL;
} else {
  if ( HTTA_PRODUCT_INFO_ON=='1' ) {
	$tags_array['title']= clean_html_comments($the_product_info['products_head_title_tag']) . ' ' . HEAD_TITLE_TAG_ALL;
  } else {
	$tags_array['title']= clean_html_comments($the_product_info['products_head_title_tag']);
  }
}

break;

Before the brek; insert this

echo 'Title is '. $tags_array['title'];

 

Then go to the products page you edited in a browser. You should, at leaset see something printed out on the screen. What do you see?

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
First, you need to make sure the title is being stored for a product. Go to admin->catalog, pick a product and go into it. There is a meta ttitle box. There should be something in there. If not, type something in. Then go to product_info.php in the shop and make sure you have the header tags code installed. And finally go to includes/header_tags.php, and find this section of code:
	if (empty($the_product_info['products_head_title_tag'])) {
  $tags_array['title']= HEAD_TITLE_TAG_ALL;
} else {
  if ( HTTA_PRODUCT_INFO_ON=='1' ) {
	$tags_array['title']= clean_html_comments($the_product_info['products_head_title_tag']) . ' ' . HEAD_TITLE_TAG_ALL;
  } else {
	$tags_array['title']= clean_html_comments($the_product_info['products_head_title_tag']);
  }
}

break;

Before the brek; insert this

echo 'Title is '. $tags_array['title'];

 

Then go to the products page you edited in a browser. You should, at leaset see something printed out on the screen. What do you see?

 

Jack

 

 

Fantastic. I am not sure what you suggested but it worked a treat.

 

I got the "title tag" on screen. Went back and took that off and everything is still there. Apologies for being completely thick but thank you so much for your help. If you do get a minute please could you explain what this did (apart from the title tag that I worked out) and why it worked?

 

Many thanks again Jack. I love the contribution and even more the great support from these forums.

You will never learn if you don't try. And boy am I trying....!

Posted
Fantastic. I am not sure what you suggested but it worked a treat.

 

I got the "title tag" on screen. Went back and took that off and everything is still there. Apologies for being completely thick but thank you so much for your help. If you do get a minute please could you explain what this did (apart from the title tag that I worked out) and why it worked?

 

Many thanks again Jack. I love the contribution and even more the great support from these forums.

 

Hi again Jack, I have one very minor glitch remaining. On my home page the header title now reads HEAD_TITLE_TAG_DEFAULT. How can I change / fix this please?

 

Thanks again for the help!!!

:thumbsup:

You will never learn if you don't try. And boy am I trying....!

Posted

If donig what I suggested caused it to work and you didn't add any code, then the tag information was not filled in in the database. I can't say why Fill Tags didn't do that though.

 

Seeing HEAD_TITLE_TAG_DEFAULT means you are missing a define in the english/header_tags.php file most likely.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
If donig what I suggested caused it to work and you didn't add any code, then the tag information was not filled in in the database. I can't say why Fill Tags didn't do that though.

 

Seeing HEAD_TITLE_TAG_DEFAULT means you are missing a define in the english/header_tags.php file most likely.

 

Jack

 

Perfect, thank you for the spot on pointers and easy to understand instructions. It works a treat.

 

Thanks again!! :thumbsup:

You will never learn if you don't try. And boy am I trying....!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...