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

#   Create a title for the checkout page

##

- **[gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile")**
- [![gerard&#95;pp's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile") Topic Author
- [ Offline](/forum/user/2611-gerard-pp)

Less More

- Posts: 44
- Thank you received: 0
-
-

15 years 5 months ago [\#17901](#17901) by [gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile")  *[Create a title for the checkout page](/forum/4-how-to/17901-create-a-title-for-the-checkout-page#17901 "My checkout page is not showing any title. I want it to say: &quot;Checkout&quot;.  I did include:  Under the first php tags row in view.html.php, checkout folder, but when i was looking at other pieces of codes (add new address pop up), the title was there...  How and where can i write that title?")* was created by *[gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile")*

My checkout page is not showing any title. I want it to say: "Checkout".

I did include: Code:

&lt;h1&gt;Checkout&lt;/h1&gt;

Under the first php tags row in view.html.php, checkout folder, but when i was looking at other pieces of codes (add new address pop up), the title was there...

How and where can i write that title?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3OTAxLWNyZWF0ZS1hLXRpdGxlLWZvci10aGUtY2hlY2tvdXQtcGFnZT90bXBsPW1hcmtkb3du) 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: 86358
- Thank you received: 14290
-
-

15 years 5 months ago [\#17916](#17916) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Create a title for the checkout page](/forum/4-how-to/17901-create-a-title-for-the-checkout-page#17916 "My checkout page is not showing any title. I want it to say: &quot;Checkout&quot;.  I did include:  Under the first php tags row in view.html.php, checkout folder, but when i was looking at other pieces of codes (add new address pop up), the title was there...  How and where can i write that title?")*

You should not add it to the view.html.php file.
You should go in the menu Display-&gt;Views and edit the file step of the view checkout. There, you can add your HTML at the beginning, before anything else.

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

- **[gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile")**
- [![gerard&#95;pp's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile") Topic Author
- [ Offline](/forum/user/2611-gerard-pp)

Less More

- Posts: 44
- Thank you received: 0
-
-

15 years 5 months ago [\#17917](#17917) by [gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile")  Replied by *[gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile")* on topic *[Re: Create a title for the checkout page](/forum/4-how-to/17901-create-a-title-for-the-checkout-page#17917 "My checkout page is not showing any title. I want it to say: &quot;Checkout&quot;.  I did include:  Under the first php tags row in view.html.php, checkout folder, but when i was looking at other pieces of codes (add new address pop up), the title was there...  How and where can i write that title?")*

Thanks for the response.

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

- **[ClickWebDesign](/forum/user/1441-clickwebdesign "View ClickWebDesign's Profile")**
- [![ClickWebDesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2012-12-05-2.jpg)](/forum/user/1441-clickwebdesign "View ClickWebDesign's Profile")
- [ Offline](/forum/user/1441-clickwebdesign)

Less More

- Posts: 50
- Thank you received: 0
-
- [](http://www.clickwebdesign.com.au)
-

15 years 1 week ago [\#28348](#28348) by [ClickWebDesign](/forum/user/1441-clickwebdesign "View ClickWebDesign's Profile")  Replied by *[ClickWebDesign](/forum/user/1441-clickwebdesign "View ClickWebDesign's Profile")* on topic *[Re: Create a title for the checkout page](/forum/4-how-to/17901-create-a-title-for-the-checkout-page#28348 "My checkout page is not showing any title. I want it to say: &quot;Checkout&quot;.  I did include:  Under the first php tags row in view.html.php, checkout folder, but when i was looking at other pieces of codes (add new address pop up), the title was there...  How and where can i write that title?")*

Hi Nicolas,
I've added "&lt;h2&gt;Secure Checkout&lt;/h2&gt;" to the view "steps" and set "Force a menu on the checkout" to a page type checkout, but don't see a page title for the checkout - this is on the same site as my earlier email smashdeals.com.au,

any suggestions?

Cheers
Chris

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

- **[ClickWebDesign](/forum/user/1441-clickwebdesign "View ClickWebDesign's Profile")**
- [![ClickWebDesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2012-12-05-2.jpg)](/forum/user/1441-clickwebdesign "View ClickWebDesign's Profile")
- [ Offline](/forum/user/1441-clickwebdesign)

Less More

- Posts: 50
- Thank you received: 0
-
- [](http://www.clickwebdesign.com.au)
-

15 years 1 week ago [\#28349](#28349) by [ClickWebDesign](/forum/user/1441-clickwebdesign "View ClickWebDesign's Profile")  Replied by *[ClickWebDesign](/forum/user/1441-clickwebdesign "View ClickWebDesign's Profile")* on topic *[Re: Create a title for the checkout page](/forum/4-how-to/17901-create-a-title-for-the-checkout-page#28349 "My checkout page is not showing any title. I want it to say: &quot;Checkout&quot;.  I did include:  Under the first php tags row in view.html.php, checkout folder, but when i was looking at other pieces of codes (add new address pop up), the title was there...  How and where can i write that title?")*

Looks like none of the views I edit in Display&gt;views make any changes...hmmm

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

- **[ClickWebDesign](/forum/user/1441-clickwebdesign "View ClickWebDesign's Profile")**
- [![ClickWebDesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2012-12-05-2.jpg)](/forum/user/1441-clickwebdesign "View ClickWebDesign's Profile")
- [ Offline](/forum/user/1441-clickwebdesign)

Less More

- Posts: 50
- Thank you received: 0
-
- [](http://www.clickwebdesign.com.au)
-

15 years 1 week ago [\#28351](#28351) by [ClickWebDesign](/forum/user/1441-clickwebdesign "View ClickWebDesign's Profile")  Replied by *[ClickWebDesign](/forum/user/1441-clickwebdesign "View ClickWebDesign's Profile")* on topic *[Re: Create a title for the checkout page](/forum/4-how-to/17901-create-a-title-for-the-checkout-page#28351 "My checkout page is not showing any title. I want it to say: &quot;Checkout&quot;.  I did include:  Under the first php tags row in view.html.php, checkout folder, but when i was looking at other pieces of codes (add new address pop up), the title was there...  How and where can i write that title?")*

Ok this was an OTS Error - I was editing the right views, wrong template!

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

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

Less More

- Posts: 25
- Thank you received: 1
-
-

15 years 1 week ago [\#28679](#28679) by [BigDutch](/forum/user/2792-bigdutch "View BigDutch's Profile")  Replied by *[BigDutch](/forum/user/2792-bigdutch "View BigDutch's Profile")* on topic *[Re: Create a title for the checkout page](/forum/4-how-to/17901-create-a-title-for-the-checkout-page#28679 "My checkout page is not showing any title. I want it to say: &quot;Checkout&quot;.  I did include:  Under the first php tags row in view.html.php, checkout folder, but when i was looking at other pieces of codes (add new address pop up), the title was there...  How and where can i write that title?")*

How do i make a change that will add a title to the page itself so in the browser (and google analytics) i will see 'sitename : {checkout page title}' ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3OTAxLWNyZWF0ZS1hLXRpdGxlLWZvci10aGUtY2hlY2tvdXQtcGFnZT90bXBsPW1hcmtkb3du) 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: 86358
- Thank you received: 14290
-
-

15 years 1 week ago [\#28707](#28707) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Create a title for the checkout page](/forum/4-how-to/17901-create-a-title-for-the-checkout-page#28707 "My checkout page is not showing any title. I want it to say: &quot;Checkout&quot;.  I did include:  Under the first php tags row in view.html.php, checkout folder, but when i was looking at other pieces of codes (add new address pop up), the title was there...  How and where can i write that title?")*

You need to edit the file step of the view checkout via the menu Display-&gt;Views and you need to add the code:

$doc =&amp; JFactory::getDocument();
$doc-&gt;setTitle('sitename : '.JText::_('HIKASHOP_CHECKOUT_'.strtoupper($step_name)));

just before the line:
$class .= ' hikashop_cart_step_current';

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

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

Less More

- Posts: 25
- Thank you received: 1
-
-

15 years 1 week ago [\#28795](#28795) by [BigDutch](/forum/user/2792-bigdutch "View BigDutch's Profile")  Replied by *[BigDutch](/forum/user/2792-bigdutch "View BigDutch's Profile")* on topic *[Re: Create a title for the checkout page](/forum/4-how-to/17901-create-a-title-for-the-checkout-page#28795 "My checkout page is not showing any title. I want it to say: &quot;Checkout&quot;.  I did include:  Under the first php tags row in view.html.php, checkout folder, but when i was looking at other pieces of codes (add new address pop up), the title was there...  How and where can i write that title?")*

i have enabled (Joomla 1.7.2) for the sitename to be in front of the document title, your code addition removes the sitename, so i have gone with :
Code:

$doc =&amp; JFactory::getDocument(); $conf =&amp; JFactory::getConfig(); $doc-&gt;setTitle($conf-&gt;getValue('config.sitename').' - '.JText::_('HIKASHOP_CHECKOUT_'.strtoupper($step_name)));

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

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

Less More

- Posts: 234
- Thank you received: 4
-
-

8 years 9 months ago [\#287068](#287068) by [mad-q](/forum/user/4784-mad-q "View mad-q's Profile")  Replied by *[mad-q](/forum/user/4784-mad-q "View mad-q's Profile")* on topic *[Re: Create a title for the checkout page](/forum/4-how-to/17901-create-a-title-for-the-checkout-page#287068 "My checkout page is not showing any title. I want it to say: &quot;Checkout&quot;.  I did include:  Under the first php tags row in view.html.php, checkout folder, but when i was looking at other pieces of codes (add new address pop up), the title was there...  How and where can i write that title?")*

Hello

When I try to save the files with or without changes it just clears all of the code.

How come??

Cheers
Iain

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3OTAxLWNyZWF0ZS1hLXRpdGxlLWZvci10aGUtY2hlY2tvdXQtcGFnZT90bXBsPW1hcmtkb3du) 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: 86358
- Thank you received: 14290
-
-

8 years 9 months ago [\#287075](#287075) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Create a title for the checkout page](/forum/4-how-to/17901-create-a-title-for-the-checkout-page#287075 "My checkout page is not showing any title. I want it to say: &quot;Checkout&quot;.  I did include:  Under the first php tags row in view.html.php, checkout folder, but when i was looking at other pieces of codes (add new address pop up), the title was there...  How and where can i write that title?")*

Hi,

This indicates that you have a security extension on your website or a security module on your server which filters the parameters and detect the PHP code of the file and removes it to prevent potential malicious code modifications.
You can either deactivate that security option, or manually create the overrides:
[ docs.joomla.org/How\_to\_override\_the\_outp...rom\_the\_Joomla!\_core](https://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core)

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

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