[Skip to main content](#vessel-content)

#   Custom Page Titles?

##

- **[davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")**
- [![davcraiguk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1706-davcraiguk "View davcraiguk's Profile") Topic Author
- [ Offline](/forum/user/1706-davcraiguk)

Less More

- Posts: 34
- Thank you received: 0
-
-

15 years 6 months ago [\#14722](#14722) by [davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")  *[Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#14722 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")* was created by *[davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")*

The current page title (title tag) for a product is 'product_name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.

I thought of:
1. creating a custom field on the products page in the back-end and calling it say... 'custom_title'.
2. Hide it from the front-end
3. Alter the code in the custom view of show.php...but what?

Can I use here... Code:

$document-&gt;setTitle( $custon_title );

But first it needs called from the table. I am not a PHP'er but can tweek - at little.

Can you help with the bit to retrieve it from the Db?

Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page_title );'

---

David Craig
Hikashop 1.5.0 Business edition
[ www.charitycanvasprints.com](http://www.charitycanvasprints.com)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

15 years 6 months ago [\#14737](#14737) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#14737 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

You can do like this:
$doc =&amp; JFactory::getDocument();
$doc-&gt;setTitle($this-&gt;element-&gt;custom_title);

in the show file of the view product that you can edit via the menu Display-&gt;Views. No need to load the data from the database. As a custom product field, the data is already loaded.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")**
- [![davcraiguk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1706-davcraiguk "View davcraiguk's Profile") Topic Author
- [ Offline](/forum/user/1706-davcraiguk)

Less More

- Posts: 34
- Thank you received: 0
-
-

15 years 5 months ago [\#15556](#15556) by [davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")  Replied by *[davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#15556 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

This is working a treat! Google is now showing the custom made longer descriptive page titles for products rather than a short product name. This as a real testimony to the authors of Hikashop and the flexability of its architecture.

Just while I'm on a few tips for SEO that might help others.

1. Make your actual image file names descriptive with dashes (not underscores) between words e.g. a-really-good-description-with-keywords.jpg
2. Use the field labeled 'Name' ('file-name' in the hikashop\_file table in the db) in the product images page to put a good description of the image. This is used to provide the text for ALT image tags in the code. Google loves these descriptive tags.
3. Use a sitemap. Xmap works and the guys here have witten a beta hikashop exentsion for it. Search the forum
for Xmap.
4. Move your keyword rich product description to the top of the product page just under the product name and above the product image. The characteristic/variants should be below this. This means Google sees the important product info first. Do this in the Hikashop Display/views and choose the product view and the 'show' link. Search the forums, there are examples there of moving bits around on the products page.
5. Joomla SEF urls works OK. In my experience using thrid party extensions SEF url extensions make little difference to the quality of Google returned actual results and is a pain to maintain.
6. If you also have Joomla articles, use good descriptive article titles. Also descriptive alias with dashes between. These are used by Joomla SEF to build the URLs

Hope these tips help someone.

---

David Craig
Hikashop 1.5.0 Business edition
[ www.charitycanvasprints.com](http://www.charitycanvasprints.com)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

15 years 5 months ago [\#15572](#15572) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#15572 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

Thank you for your feedback on SEO. I'm sure it will help others.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Webguy](/forum/user/2887-webguy "View Webguy's Profile")**
- [![Webguy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2887-webguy "View Webguy's Profile")
- [ Offline](/forum/user/2887-webguy)

Less More

- Posts: 10
- Thank you received: 0
-
-

15 years 3 months ago [\#21765](#21765) by [Webguy](/forum/user/2887-webguy "View Webguy's Profile")  Replied by *[Webguy](/forum/user/2887-webguy "View Webguy's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#21765 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

Thanks for the info above, quite interesting.

Using similar code, can I make my page titles look something like...

Site name - Category name - Product Name

How would I accomplish that please?

Cheers

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

15 years 3 months ago [\#21776](#21776) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#21776 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

You could use something like that in the same view :
$doc =&amp; JFactory::getDocument();
$class = hikashop::get('class.category');
$cat = $class-&gt;get($this-&gt;element-&gt;category_id);
$doc-&gt;setTitle('My website name '.$cat-&gt;category_name.' '.$this-&gt;element-&gt;product_name);

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[harleylever](/forum/user/4529-harleylever "View harleylever's Profile")**
- [![harleylever's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4529-harleylever "View harleylever's Profile")
- [ Offline](/forum/user/4529-harleylever)

Less More

- Posts: 4
- Thank you received: 0
-
-

14 years 6 months ago [\#48666](#48666) by [harleylever](/forum/user/4529-harleylever "View harleylever's Profile")  Replied by *[harleylever](/forum/user/4529-harleylever "View harleylever's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#48666 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

Hi,

I have the custom field created. But I cannot seem to get the custom title to show up in the browser.

Where exactly to I put the code in the show file of the product page? I placed this Code:

&lt;?php $doc =&amp; JFactory::getDocument(); $doc-&gt;setTitle($this-&gt;element-&gt;custom_title); ?&gt;

right after the $apps code, but cannot make the titles appear. Any guidance would be greatly appreciated.

Thank you for your time.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

14 years 6 months ago [\#48692](#48692) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#48692 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

Are you sure that you're editing the correct file for the correct template ?
If you're editing the file for another template than the one you're using, you won't see the change.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[harleylever](/forum/user/4529-harleylever "View harleylever's Profile")**
- [![harleylever's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4529-harleylever "View harleylever's Profile")
- [ Offline](/forum/user/4529-harleylever)

Less More

- Posts: 4
- Thank you received: 0
-
-

14 years 6 months ago [\#48694](#48694) by [harleylever](/forum/user/4529-harleylever "View harleylever's Profile")  Replied by *[harleylever](/forum/user/4529-harleylever "View harleylever's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#48694 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

Thanks for the fast response Nicolas!

I believe so. I selected Displays &gt; Views &gt; show file (under frontend procuct show).

Is this correct?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

14 years 6 months ago [\#48697](#48697) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#48697 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

Yes, but check that it is the correct template as you will have one show file (under frontend procuct show) per template on your website.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sue](/forum/user/7346-sue "View Sue's Profile")**
- [![Sue's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7346-sue "View Sue's Profile")
- [ Offline](/forum/user/7346-sue)

Less More

- Posts: 43
- Thank you received: 0
-
-

14 years 4 months ago [\#54847](#54847) by [Sue](/forum/user/7346-sue "View Sue's Profile")  Replied by *[Sue](/forum/user/7346-sue "View Sue's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#54847 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

Hello Nicolas,

I asked this question and you directed me to this post.
Since then I have been trying to do what is explained here but it's nit working.
Either I don't understand it or I don't do it correct.

To get custom page titles and override the default from Hikashop,
What file do I have to edit?
Is it the file "listing" of the view 'product'/'category' or the show file of the view product
And does it matter where i put this code: $doc =&amp; JFactory::getDocument();
$doc-&gt;setTitle($this-&gt;element-&gt;custom_title); ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

14 years 4 months ago [\#54941](#54941) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#54941 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

It depends...

If you want to change the title on the product pages, it's in the show file of the view product.
If you want to change the title on the products listing pages, it's in the listing file of the view product.
If you want to change the title on the categories listing pages, it's in the listing file of the view category.
You should add the code at the top, just after the first &lt;?php tag
Finally, for categories and products listing pages, you will have to use a custom category field since the title will have to be entered in the current category of the elements displayed on the page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sue](/forum/user/7346-sue "View Sue's Profile")**
- [![Sue's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7346-sue "View Sue's Profile")
- [ Offline](/forum/user/7346-sue)

Less More

- Posts: 43
- Thank you received: 0
-
-

14 years 4 months ago [\#55006](#55006) by [Sue](/forum/user/7346-sue "View Sue's Profile")  Replied by *[Sue](/forum/user/7346-sue "View Sue's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#55006 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

SO i tried editing the files but something happened. :S
When i edited the listing file of the view product and saved it I couldn't
see any of the views.
I end up getting the message that the product could not be found. ![:(](/media/kunena/emoticons/5.png ":(")
How can I change that or what do I have to do now?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sue](/forum/user/7346-sue "View Sue's Profile")**
- [![Sue's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7346-sue "View Sue's Profile")
- [ Offline](/forum/user/7346-sue)

Less More

- Posts: 43
- Thank you received: 0
-
-

14 years 4 months ago [\#55007](#55007) by [Sue](/forum/user/7346-sue "View Sue's Profile")  Replied by *[Sue](/forum/user/7346-sue "View Sue's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#55007 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

See message below
[ ![Untitled-1.jpg](/forum/attachment/4410) ](/forum/attachment/4410 "Untitled-1.jpg")

- [ ![Untitled-1.jpg](/forum/attachment/4410) ](/forum/attachment/4410 "Untitled-1.jpg") [ ](/forum/attachment/4410?download=1 "Untitled-1.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

14 years 4 months ago [\#55057](#55057) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#55057 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

Which file did you edit ? Did you edit the file of the front end ? Not one of the back end ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sue](/forum/user/7346-sue "View Sue's Profile")**
- [![Sue's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7346-sue "View Sue's Profile")
- [ Offline](/forum/user/7346-sue)

Less More

- Posts: 43
- Thank you received: 0
-
-

14 years 3 months ago [\#56483](#56483) by [Sue](/forum/user/7346-sue "View Sue's Profile")  Replied by *[Sue](/forum/user/7346-sue "View Sue's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#56483 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

I think I edited the file of the back-end because on the front-end everything works fine.
It was the file for the categories

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

14 years 3 months ago [\#56528](#56528) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#56528 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

Do you still have the problem ?
We cannot reproduce it on our end.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sue](/forum/user/7346-sue "View Sue's Profile")**
- [![Sue's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7346-sue "View Sue's Profile")
- [ Offline](/forum/user/7346-sue)

Less More

- Posts: 43
- Thank you received: 0
-
-

14 years 3 months ago [\#56546](#56546) by [Sue](/forum/user/7346-sue "View Sue's Profile")  Replied by *[Sue](/forum/user/7346-sue "View Sue's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#56546 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

Yes I do.
Can I give you the login details so you can check it?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

14 years 3 months ago [\#56594](#56594) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#56594 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

PLease provide an access via our contact form with a link to this thread.
[ www.hikashop.com/en/contact-us.html](http://www.hikashop.com/en/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sue](/forum/user/7346-sue "View Sue's Profile")**
- [![Sue's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7346-sue "View Sue's Profile")
- [ Offline](/forum/user/7346-sue)

Less More

- Posts: 43
- Thank you received: 0
-
-

14 years 3 months ago [\#56620](#56620) by [Sue](/forum/user/7346-sue "View Sue's Profile")  Replied by *[Sue](/forum/user/7346-sue "View Sue's Profile")* on topic *[Re: Custom Page Titles?](/forum/4-how-to/14722-custom-page-titles#56620 "The current page title (title tag) for a product is 'product&#95;name'. I would like to change this to have a fuller more menaingful page title in the browser and for SEO.  I thought of: 1. creating a custom field on the products page in the back-end and calling it say... 'custom&#95;title'. 2. Hide it from the front-end 3. Alter the code in the custom view of show.php...but what?  Can I use here...  But first it needs called from the table. I am not a PHP'er but can tweek - at little.  Can you help with the bit to retrieve it from the Db?  Will it be overwritten by the default code in view.html.php? ' $document-&gt;setTitle( $page&#95;title );'")*

ok

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0NzIyLWN1c3RvbS1wYWdlLXRpdGxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.226 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
