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

#   Suggestion

##

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

Less More

- Posts: 251
- Thank you received: 2
-
-

15 years 4 months ago [\#19754](#19754) by [Nello](/forum/user/1361-nello "View Nello's Profile")  *[Suggestion](/forum/2-general-talk-about-hikashop/19754-suggestion#19754 "hi nicolas It is possible to distinguish between the product name and page title? Let me explain. Currently the product name is also the page title of that product. It would be possible to add a field to specify a different page title from the title of the product. It would be great. Thank you!")* was created by *[Nello](/forum/user/1361-nello "View Nello's Profile")*

hi nicolas
It is possible to distinguish between the product name and page title?
Let me explain. Currently the product name is also the page title of that product.
It would be possible to add a field to specify a different page title from the title of the product.
It would be great.
Thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE5NzU0LXN1Z2dlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

15 years 4 months ago [\#19763](#19763) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Suggestion](/forum/2-general-talk-about-hikashop/19754-suggestion#19763 "hi nicolas It is possible to distinguish between the product name and page title? Let me explain. Currently the product name is also the page title of that product. It would be possible to add a field to specify a different page title from the title of the product. It would be great. Thank you!")*

You can create an new custom field of the table "product" via the menu Display-&gt;Custom fields (in the commercial editions only) so that you can enter a page title for the product. Then, edit the file show of the view product and add the lines below just after the first &lt;?php tag:

if(!empty($this-&gt;element-&gt;CUSTOM_FIELD_COLUMN_NAME)){
$document =&amp; JFactory::getDocument();
$document-&gt;setTitle( $this-&gt;element-&gt;CUSTOM_FIELD_COLUMN_NAME );
}

Don't forget to replace the CUSTOM_FIELD_COLUMN_NAME by the actual column name of your custom field and the title of the product pages will be the text entered in that custom field for each products.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE5NzU0LXN1Z2dlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 251
- Thank you received: 2
-
-

15 years 4 months ago -  15 years 4 months ago [\#19764](#19764) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Re: Suggestion](/forum/2-general-talk-about-hikashop/19754-suggestion#19764 "hi nicolas It is possible to distinguish between the product name and page title? Let me explain. Currently the product name is also the page title of that product. It would be possible to add a field to specify a different page title from the title of the product. It would be great. Thank you!")*

Fantastic!!! You are my personal God!
eheheh

Last edit: 15 years 4 months ago by [Nello](/forum/user/1361-nello "View Nello's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE5NzU0LXN1Z2dlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 251
- Thank you received: 2
-
-

15 years 4 months ago [\#19767](#19767) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Re: Suggestion](/forum/2-general-talk-about-hikashop/19754-suggestion#19767 "hi nicolas It is possible to distinguish between the product name and page title? Let me explain. Currently the product name is also the page title of that product. It would be possible to add a field to specify a different page title from the title of the product. It would be great. Thank you!")*

[ www.hidesign.it/it/catalogo/product/show/cid-212/tykho-radio](http://www.hidesign.it/it/catalogo/product/show/cid-212/tykho-radio)

Thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE5NzU0LXN1Z2dlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 251
- Thank you received: 2
-
-

15 years 4 months ago [\#19806](#19806) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Re: Suggestion](/forum/2-general-talk-about-hikashop/19754-suggestion#19806 "hi nicolas It is possible to distinguish between the product name and page title? Let me explain. Currently the product name is also the page title of that product. It would be possible to add a field to specify a different page title from the title of the product. It would be great. Thank you!")*

Hi Nicolas,
this modification works well but if I try to translate the product schedule the custom field is not in the translation panel...

Maybe I have to add some lines in the code to make the custom field translatable...?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE5NzU0LXN1Z2dlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

15 years 4 months ago [\#19809](#19809) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Suggestion](/forum/2-general-talk-about-hikashop/19754-suggestion#19809 "hi nicolas It is possible to distinguish between the product name and page title? Let me explain. Currently the product name is also the page title of that product. It would be possible to add a field to specify a different page title from the title of the product. It would be great. Thank you!")*

If you want it to be translatable via the translation file, you should use:
$document-&gt;setTitle( JText::_($this-&gt;element-&gt;CUSTOM_FIELD_COLUMN_NAME) );
instead of :
$document-&gt;setTitle( $this-&gt;element-&gt;CUSTOM_FIELD_COLUMN_NAME );
in the previous code.
Then, in your product field, you can put for example the text MY_CUSTOM_TITLE and in the translation override, you can add the line:
MY_CUSTOM_TITLE="My custom override"

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE5NzU0LXN1Z2dlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 251
- Thank you received: 2
-
-

15 years 4 months ago [\#20126](#20126) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Re: Suggestion](/forum/2-general-talk-about-hikashop/19754-suggestion#20126 "hi nicolas It is possible to distinguish between the product name and page title? Let me explain. Currently the product name is also the page title of that product. It would be possible to add a field to specify a different page title from the title of the product. It would be great. Thank you!")*

Hi Nicolas,
I don't want it to be translatable via the translation file, but I use JoomFish for translation and I want that the custom title I added for each product it has to be translatable by the JoomFish Translation Panel...

For page title I mean what you see on the title bar, and It is different for each product.

Some examples:

[ www.hidesign.it/it/in-esposizione/produc.../cid-212/tykho-radio](http://www.hidesign.it/it/in-esposizione/product/show/cid-212/tykho-radio)

[ www.hidesign.it/it/in-esposizione/produc...rologio-spring-large](http://www.hidesign.it/it/in-esposizione/product/show/cid-224/orologio-spring-large)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE5NzU0LXN1Z2dlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

15 years 4 months ago [\#20142](#20142) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Suggestion](/forum/2-general-talk-about-hikashop/19754-suggestion#20142 "hi nicolas It is possible to distinguish between the product name and page title? Let me explain. Currently the product name is also the page title of that product. It would be possible to add a field to specify a different page title from the title of the product. It would be great. Thank you!")*

Then, you need to edit the hikashop_product.xml file in the administrator/components/com_joomfish/contentelements folder, in order to add a line for your field. Then, it will be translatable via joomfish.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE5NzU0LXN1Z2dlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 251
- Thank you received: 2
-
-

15 years 4 months ago [\#20293](#20293) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Re: Suggestion](/forum/2-general-talk-about-hikashop/19754-suggestion#20293 "hi nicolas It is possible to distinguish between the product name and page title? Let me explain. Currently the product name is also the page title of that product. It would be possible to add a field to specify a different page title from the title of the product. It would be great. Thank you!")*

Tnx!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzE5NzU0LXN1Z2dlc3Rpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.110 seconds

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