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

#   Page title on checkout

##

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

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 6 months ago [\#152983](#152983) by [jdoe](/forum/user/29057-jdoe "View jdoe's Profile")  *[Page title on checkout](/forum/27-checkout/867590-page-title-on-checkout#152983 "Using the latest version 2.3.0 starter.  When I go to checkout process my page title (in browser) changes in a way that it loses my website's name I set in Global configuration of joomla. It's fine when just browsing the category/product listing and on product pages.  How can I add website name to the checkout process?  thanks")* was created by *[jdoe](/forum/user/29057-jdoe "View jdoe's Profile")*

Using the latest version 2.3.0 starter.

When I go to checkout process my page title (in browser) changes in a way that it loses my website's name I set in Global configuration of joomla. It's fine when just browsing the category/product listing and on product pages.

How can I add website name to the checkout process?

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzU5MC1wYWdlLXRpdGxlLW9uLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86575
- Thank you received: 14318
-
-

12 years 6 months ago [\#152994](#152994) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Page title on checkout](/forum/27-checkout/867590-page-title-on-checkout#152994 "Using the latest version 2.3.0 starter.  When I go to checkout process my page title (in browser) changes in a way that it loses my website's name I set in Global configuration of joomla. It's fine when just browsing the category/product listing and on product pages.  How can I add website name to the checkout process?  thanks")*

Hi,

You'll have to add the code: Code:

$document = JFactory::getDocument(); $checkout_name = JText::_('CHECKOUT'); if (empty($checkout_name)) { $checkout_name = $app-&gt;getCfg('sitename'); } elseif ($app-&gt;getCfg('sitename_pagetitles', 0) == 1) { $checkout_name = JText::sprintf('JPAGETITLE', $app-&gt;getCfg('sitename'), $checkout_name); } elseif ($app-&gt;getCfg('sitename_pagetitles', 0) == 2) { $checkout_name = JText::sprintf('JPAGETITLE', $checkout_name, $app-&gt;getCfg('sitename')); } $document-&gt;setTitle( strip_tags($checkout_name) );

after the line: Code:

$this-&gt;assignRef('display_checkout_bar',$this-&gt;display_checkout_bar);

in the file components/com_hikashop/views/checkout/view.html.php

The following user(s) said Thank You: [jdoe](/forum/user/29057-jdoe "View jdoe's Profile")

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

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

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 6 months ago -  12 years 6 months ago [\#153126](#153126) by [jdoe](/forum/user/29057-jdoe "View jdoe's Profile")  Replied by *[jdoe](/forum/user/29057-jdoe "View jdoe's Profile")* on topic *[Page title on checkout](/forum/27-checkout/867590-page-title-on-checkout#153126 "Using the latest version 2.3.0 starter.  When I go to checkout process my page title (in browser) changes in a way that it loses my website's name I set in Global configuration of joomla. It's fine when just browsing the category/product listing and on product pages.  How can I add website name to the checkout process?  thanks")*

Thank you, it worked.
What will happen after future hikashop updates with files changed like that?

Also, I would like for pages User control panel, orders and addresses to have site name in browsers as well. Can you give me a hint?

Any reason why this doesn't act as set-up in global configuration of joomla?

Last edit: 12 years 6 months ago by [jdoe](/forum/user/29057-jdoe "View jdoe's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzU5MC1wYWdlLXRpdGxlLW9uLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86575
- Thank you received: 14318
-
-

12 years 6 months ago [\#153149](#153149) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Page title on checkout](/forum/27-checkout/867590-page-title-on-checkout#153149 "Using the latest version 2.3.0 starter.  When I go to checkout process my page title (in browser) changes in a way that it loses my website's name I set in Global configuration of joomla. It's fine when just browsing the category/product listing and on product pages.  How can I add website name to the checkout process?  thanks")*

You will loose such change done directly to the files when you update. The preferred method is to edit a view file via the menu Display-&gt;Views to add such code addition.
However, this modification will be included in next version of HikaShop, so you won't need to add it again after you update.

For the other pages, similar modifications will be done for next release of HikaShop so if you update HikaShopin a month, you'll get the titles everywhere. If you want to add that in the mean time, you would have to basically edit all the view.html.php files of the components/com_hikashop/views subfolders and add it to the listing/show functions there if no$document-&gt;setTitle call already present and simply change the line:
$checkout_name = JText::_('CHECKOUT');
to:
$checkout_name = 'My title';

where My title is the page title you want for the page.

It didn't act as set-up in the global configuration of Joomla because it has to be handled by each extension and that this parameter wasn't taken into account so far for these pages.

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

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

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 6 months ago [\#153236](#153236) by [jdoe](/forum/user/29057-jdoe "View jdoe's Profile")  Replied by *[jdoe](/forum/user/29057-jdoe "View jdoe's Profile")* on topic *[Page title on checkout](/forum/27-checkout/867590-page-title-on-checkout#153236 "Using the latest version 2.3.0 starter.  When I go to checkout process my page title (in browser) changes in a way that it loses my website's name I set in Global configuration of joomla. It's fine when just browsing the category/product listing and on product pages.  How can I add website name to the checkout process?  thanks")*

Sorry, but I cant find the line $checkout_name = JText::_('CHECKOUT') anywhere in those 'view.html.php' files. Folders I looked in: 'address', 'order' and 'user'.

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

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

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 6 months ago [\#153259](#153259) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Page title on checkout](/forum/27-checkout/867590-page-title-on-checkout#153259 "Using the latest version 2.3.0 starter.  When I go to checkout process my page title (in browser) changes in a way that it loses my website's name I set in Global configuration of joomla. It's fine when just browsing the category/product listing and on product pages.  How can I add website name to the checkout process?  thanks")*

Hi,

I think that Nicolas was talking about the code he gave you previously.
[ www.hikashop.com/forum/checkout/867590-p...checkout.html#152994](http://www.hikashop.com/forum/checkout/867590-page-title-on-checkout.html#152994)

After having added that code, you can replace the line by what you want.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

12 years 6 months ago [\#154466](#154466) by [ranger-b](/forum/user/32357-ranger-b "View ranger-b's Profile")  Replied by *[ranger-b](/forum/user/32357-ranger-b "View ranger-b's Profile")* on topic *[Page title on checkout](/forum/27-checkout/867590-page-title-on-checkout#154466 "Using the latest version 2.3.0 starter.  When I go to checkout process my page title (in browser) changes in a way that it loses my website's name I set in Global configuration of joomla. It's fine when just browsing the category/product listing and on product pages.  How can I add website name to the checkout process?  thanks")*

You could use a plugin for SEO such as this: [ EFSEO - Easy Frontend SEO](http://extensions.joomla.org/extensions/site-management/seo-a-metadata/meta-data/17926)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzU5MC1wYWdlLXRpdGxlLW9uLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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.060 seconds

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