Jump to content

Meta title for product like Productname | Maincategory


Gomlers

Recommended Posts

Like my title describes. I am trying to generate new meta-tags for my product pages.

Lets say I have a product named "Waterhose" which has a maincategory "Garden Equipment" - then I want the meta title for that product to read: Waterhose | Garden Equipment.

I don't want to add other categories after the | - only the product's main category.

If it can be done directly in the header.tpl with a if-statement to check if the current page is product-page, that would be the best way, but I don't know if that is possible?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...