News:

Looking for documentation? Take a look on our wiki

Main Menu

Request: Category Name (OPTIONAL ) in Product Page Title

Started by PRO, September 10, 2011, 15:03:32 PM

Previous topic - Next topic

PRO

There should be an option to display category name OR NOT in the product page title.

OR, for an even better option
Display Category Name YES or NO

IF YES Front or Back

PRO

Milbo, is there a chance we can have this added?

Many users will not want the Category Name in the Page title of the product. For SEO

Milbo

Oh, we can easily add it, even you can add it easily.

Just add the option to the config. you dont have anything to consider. just copy another checkbox, then write an if ... It takes more time to exactly understand what you mean than to write it, lol.

So how do you mean this "for SEO"?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

PRO

Currently on the product page the page title is

Category Name : Product Name

It would be best to have 3 options

1) Category Name : Product Name
2) Product Name : Category Name
3) Product Name


Yes, this is for best SEO.

I dont want the category name in my product page title at all.
BUT, some users will want it.

So best to have a choice.


Tirrawarra

Hello, was there any progress on this?

if its as simple as Milbo suggests what file would we modify?

  • For SEO - I want the following:
    2) Product Name : Category Name

any help would be appreciated.

cheers Steve

PRO

views/productdetails/view.html.php

// Set the titles
      $document->setTitle( strip_tags($category->category_name.' : '.$product->product_name));

You can remove one, or change the order