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

#   Missing in product listing

##

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 2 months ago [\#24697](#24697) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  *[Missing in product listing](/forum/3-bug-report/24697-missing-in-product-listing#24697 "Hi!  Since the last update to HikaShop 1.5.3 there is no  tag when accessing the product listing page. (Joomla 1.7). On the product pages it works as it should  Best regards")* was created by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")*

Hi!

Since the last update to HikaShop 1.5.3 there is no &lt;title&gt; tag when accessing the product listing page. (Joomla 1.7). On the product pages it works as it should

Best regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yNDY5Ny1taXNzaW5nLWluLXByb2R1Y3QtbGlzdGluZz90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86357
- Thank you received: 14289
-
-

15 years 2 months ago [\#24699](#24699) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Missing in product listing](/forum/3-bug-report/24697-missing-in-product-listing#24699 "Hi!  Since the last update to HikaShop 1.5.3 there is no  tag when accessing the product listing page. (Joomla 1.7). On the product pages it works as it should  Best regards")*

Hi,

I can see the title tag on products listings with the latest version regardless of the version of joomla (I tried them all just to make sure). I can also see the title tag on our demo website on listings.

So everything is OK on our end.

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 2 months ago [\#24847](#24847) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: Missing in product listing](/forum/3-bug-report/24697-missing-in-product-listing#24847 "Hi!  Since the last update to HikaShop 1.5.3 there is no  tag when accessing the product listing page. (Joomla 1.7). On the product pages it works as it should  Best regards")*

OK, but where and how is this title generated? So I could solve the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yNDY5Ny1taXNzaW5nLWluLXByb2R1Y3QtbGlzdGluZz90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86357
- Thank you received: 14289
-
-

15 years 2 months ago [\#24848](#24848) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Missing in product listing](/forum/3-bug-report/24697-missing-in-product-listing#24848 "Hi!  Since the last update to HikaShop 1.5.3 there is no  tag when accessing the product listing page. (Joomla 1.7). On the product pages it works as it should  Best regards")*

It's added with the function setTitle in the file components/com_hikashop/views/product/view.html.php in the listing function.
As I said, it works properly so maybe you have something else on your website which removes the title after it's been added ?

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 2 months ago [\#24949](#24949) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: Missing in product listing](/forum/3-bug-report/24697-missing-in-product-listing#24949 "Hi!  Since the last update to HikaShop 1.5.3 there is no  tag when accessing the product listing page. (Joomla 1.7). On the product pages it works as it should  Best regards")*

Could this problem be linked up to the fact, that in the menu manager the menu item to the product listing page is of type: HikaShop » com_hikashop_product_VIEW_DEFAULT_TITLE?

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 2 months ago [\#24950](#24950) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: Missing in product listing](/forum/3-bug-report/24697-missing-in-product-listing#24950 "Hi!  Since the last update to HikaShop 1.5.3 there is no  tag when accessing the product listing page. (Joomla 1.7). On the product pages it works as it should  Best regards")*

I also just found a PHP Notice in our error log which could be the problem:
Code:

PHP Notice: Trying to get property of non-object in /.../www/components/com_hikashop/views/product/view.html.php on line 354, referer: http://....com/

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yNDY5Ny1taXNzaW5nLWluLXByb2R1Y3QtbGlzdGluZz90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86357
- Thank you received: 14289
-
-

15 years 2 months ago [\#24951](#24951) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Missing in product listing](/forum/3-bug-report/24697-missing-in-product-listing#24951 "Hi!  Since the last update to HikaShop 1.5.3 there is no  tag when accessing the product listing page. (Joomla 1.7). On the product pages it works as it should  Best regards")*

No, no, I was more thinking about a system plugin which would remove the title at the end of the page processing.

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 2 months ago [\#24982](#24982) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: Missing in product listing](/forum/3-bug-report/24697-missing-in-product-listing#24982 "Hi!  Since the last update to HikaShop 1.5.3 there is no  tag when accessing the product listing page. (Joomla 1.7). On the product pages it works as it should  Best regards")*

But why should this system plugin only remove the title on the product listing page?

Line 354 of the view.html.php sets the title
Code:

$document-&gt;setTitle( strip_tags($element-&gt;category_name) );

I would also like to remove the error, there is obviously a bug in the view.html.php on line 354

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yNDY5Ny1taXNzaW5nLWluLXByb2R1Y3QtbGlzdGluZz90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86357
- Thank you received: 14289
-
-

15 years 2 months ago [\#24986](#24986) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Missing in product listing](/forum/3-bug-report/24697-missing-in-product-listing#24986 "Hi!  Since the last update to HikaShop 1.5.3 there is no  tag when accessing the product listing page. (Joomla 1.7). On the product pages it works as it should  Best regards")*

Hi,

Here is the code in the current version: Code:

$page_title = $this-&gt;params-&gt;get('page_title'); $document =&amp; JFactory::getDocument(); if((empty($page_title) &amp;&amp; !empty($element-&gt;category_name)) &#124;&#124; !$this-&gt;params-&gt;get('use_module_name')){ @$this-&gt;params-&gt;set('page_title',$element-&gt;category_name); $document-&gt;setTitle( strip_tags($element-&gt;category_name) ); }else{ $document-&gt;setTitle( $page_title ); }

Here is the code that will be in next version of HikaShop: Code:

$document =&amp; JFactory::getDocument(); $title = $this-&gt;params-&gt;get('page_title'); if(empty($title)){ $title = $this-&gt;params-&gt;get('title'); } $use_module = $this-&gt;params-&gt;get('use_module_name'); if(empty($use_module) &amp;&amp; !empty($element-&gt;category_name)){ $title = $element-&gt;category_name; } $document-&gt;setTitle(strip_tags($title)); $this-&gt;params-&gt;set('page_title',$title);

I'm not sure if it will be ok to just replace it but you should try.

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 1 month ago [\#25318](#25318) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: Missing in product listing](/forum/3-bug-report/24697-missing-in-product-listing#25318 "Hi!  Since the last update to HikaShop 1.5.3 there is no  tag when accessing the product listing page. (Joomla 1.7). On the product pages it works as it should  Best regards")*

Apart from missing braces in both code parts, it works now and the error message is gone! Thanks

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

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