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

#   Wrong page heading for wishlist menuitem

##

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

Less More

- Posts: 202
- Thank you received: 3
-
- [](https://www.pulsar-informatique.com/)
-

6 years 1 month ago [\#324048](#324048) by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")  *[Wrong page heading for wishlist menuitem](/forum/41-wishlist/900812-wrong-page-heading-for-wishlist-menuitem#324048 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi I created a wishlist menu item, set its type to 'wishlist' instead of 'cart' but when I display the page the page heading is still 'cart&quot; even if I set a custom page heading in the 'page display' tab of the menu item !!  did you see that please ? thanks")* was created by *[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")*

-- HikaShop version -- : 4.3.0 buisiness
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.3
-- Browser(s) name and version -- : Chrome

Hi
I created a wishlist menu item, set its type to 'wishlist' instead of 'cart' but when I display the page the page heading is still 'cart" even if I set a custom page heading in the 'page display' tab of the menu item !!

did you see that please ?
thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3dpc2hsaXN0LzkwMDgxMi13cm9uZy1wYWdlLWhlYWRpbmctZm9yLXdpc2hsaXN0LW1lbnVpdGVtP3RtcGw9bWFya2Rvd24=) 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: 14293
-
-

6 years 1 month ago [\#324050](#324050) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wrong page heading for wishlist menuitem](/forum/41-wishlist/900812-wrong-page-heading-for-wishlist-menuitem#324050 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi I created a wishlist menu item, set its type to 'wishlist' instead of 'cart' but when I display the page the page heading is still 'cart&quot; even if I set a custom page heading in the 'page display' tab of the menu item !!  did you see that please ? thanks")*

Hi,

That's a bug.
Change the line:
if(!empty($menu) &amp;&amp; method_exists($menu, 'getParams') &amp;&amp; $menu-&gt;link == 'index.php?option=com_hikashop&amp;view=cart&amp;layout=listing') {

to:
if(!empty($menu) &amp;&amp; method_exists($menu, 'getParams') &amp;&amp; in_array($menu-&gt;link, array('index.php?option=com_hikashop&amp;view=cart&amp;layout=show', 'index.php?option=com_hikashop&amp;view=cart&amp;layout=listing'))) {

in the file components/com_hikashop/views/cart/view.html.php and it should work fine.

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

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

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

Less More

- Posts: 202
- Thank you received: 3
-
- [](https://www.pulsar-informatique.com/)
-

6 years 1 month ago [\#324074](#324074) by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")  Replied by *[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")* on topic *[Wrong page heading for wishlist menuitem](/forum/41-wishlist/900812-wrong-page-heading-for-wishlist-menuitem#324074 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi I created a wishlist menu item, set its type to 'wishlist' instead of 'cart' but when I display the page the page heading is still 'cart&quot; even if I set a custom page heading in the 'page display' tab of the menu item !!  did you see that please ? thanks")*

Hi

Sorry it doesn't work. the wishlist url is index.php?option=com_hikashop&amp;view=cart&amp;layout=showcart but the line you gave is in the listing() {...} function which is not called when we are in the wishlist page

it may be this file but should be somewhere else in the file ?

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3dpc2hsaXN0LzkwMDgxMi13cm9uZy1wYWdlLWhlYWRpbmctZm9yLXdpc2hsaXN0LW1lbnVpdGVtP3RtcGw9bWFya2Rvd24=) 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: 14293
-
-

6 years 1 month ago [\#324103](#324103) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wrong page heading for wishlist menuitem](/forum/41-wishlist/900812-wrong-page-heading-for-wishlist-menuitem#324103 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi I created a wishlist menu item, set its type to 'wishlist' instead of 'cart' but when I display the page the page heading is still 'cart&quot; even if I set a custom page heading in the 'page display' tab of the menu item !!  did you see that please ? thanks")*

Hi,

That's not what it should be.
Here is what I have on my end:
[ monosnap.com/file/2dcDpVcVY8rMDPwnc6o2hTuTRXYcGL](https://monosnap.com/file/2dcDpVcVY8rMDPwnc6o2hTuTRXYcGL)
As you can see, the layout parameter is "show" not "showcart" for a "cart display" menu item type.
Try deleting the menu item and recreating it.
I stand by my modification which I've successfully tested on my end before writing my previous message.

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

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

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

Less More

- Posts: 202
- Thank you received: 3
-
- [](https://www.pulsar-informatique.com/)
-

6 years 1 month ago -  6 years 1 month ago [\#324117](#324117) by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")  Replied by *[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")* on topic *[Wrong page heading for wishlist menuitem](/forum/41-wishlist/900812-wrong-page-heading-for-wishlist-menuitem#324117 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi I created a wishlist menu item, set its type to 'wishlist' instead of 'cart' but when I display the page the page heading is still 'cart&quot; even if I set a custom page heading in the 'page display' tab of the menu item !!  did you see that please ? thanks")*

Hi

there are two locations in the file where I can edit the line you gave

line 160 and line 583

in both case, if I log in on front end (in my example as a super user) and go to the wishlist menu item

if add var_dump("here");die()
just after
if(!empty($menu) &amp;&amp; method_exists($menu, 'getParams') &amp;&amp; in_array($menu-&gt;link, array('index.php?option=com_hikashop&amp;view=cart&amp;layout=show', 'index.php?option=com_hikashop&amp;view=cart&amp;layout=listing'))) {

I never enter the block which is NORMAL since the real url a a wishlist menu item is

index.php?option=com_hikashop&amp;view=cart&amp;layout=showcart

please check the attached screenshot where you can see the url of the wishlist menu item

thanks  [ ![wishlist-menu-item.PNG](/forum/attachment/50602) ](/forum/attachment/50602 "...-menu-item.PNG")

Cyril

- [ ![wishlist-menu-item.PNG](/forum/attachment/50602) ](/forum/attachment/50602 "...-menu-item.PNG") [ ](/forum/attachment/50602?download=1 "...-menu-item.PNG")

Last edit: 6 years 1 month ago by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3dpc2hsaXN0LzkwMDgxMi13cm9uZy1wYWdlLWhlYWRpbmctZm9yLXdpc2hsaXN0LW1lbnVpdGVtP3RtcGw9bWFya2Rvd24=) 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: 14293
-
-

6 years 1 month ago [\#324127](#324127) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wrong page heading for wishlist menuitem](/forum/41-wishlist/900812-wrong-page-heading-for-wishlist-menuitem#324127 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi I created a wishlist menu item, set its type to 'wishlist' instead of 'cart' but when I display the page the page heading is still 'cart&quot; even if I set a custom page heading in the 'page display' tab of the menu item !!  did you see that please ? thanks")*

Hi,

Try deleting the menu item and recreating it. The URL should then be index.php?option=com_hikashop&amp;view=cart&amp;layout=show and the modification I gave will work.

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

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

Less More

- Posts: 7
- Thank you received: 0
-

6 years 1 month ago [\#324306](#324306) by [free2shine@gmx.com](/forum/user/59868-free2shine-gmx-com "View free2shine@gmx.com's Profile")  Replied by *[free2shine@gmx.com](/forum/user/59868-free2shine-gmx-com "View free2shine@gmx.com's Profile")* on topic *[Wrong page heading for wishlist menuitem](/forum/41-wishlist/900812-wrong-page-heading-for-wishlist-menuitem#324306 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi I created a wishlist menu item, set its type to 'wishlist' instead of 'cart' but when I display the page the page heading is still 'cart&quot; even if I set a custom page heading in the 'page display' tab of the menu item !!  did you see that please ? thanks")*

I have exactly the same problem. Didn't work for me either ![:(](/media/kunena/emoticons/22.png ":(")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3dpc2hsaXN0LzkwMDgxMi13cm9uZy1wYWdlLWhlYWRpbmctZm9yLXdpc2hsaXN0LW1lbnVpdGVtP3RtcGw9bWFya2Rvd24=) 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: 14293
-
-

6 years 1 month ago [\#324335](#324335) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Wrong page heading for wishlist menuitem](/forum/41-wishlist/900812-wrong-page-heading-for-wishlist-menuitem#324335 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi I created a wishlist menu item, set its type to 'wishlist' instead of 'cart' but when I display the page the page heading is still 'cart&quot; even if I set a custom page heading in the 'page display' tab of the menu item !!  did you see that please ? thanks")*

Hi,

So what do you have for the "Link" setting of your menu item ?
Did you apply the modification I recommended ?

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

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

Less More

- Posts: 7
- Thank you received: 0
-

6 years 1 month ago [\#324364](#324364) by [free2shine@gmx.com](/forum/user/59868-free2shine-gmx-com "View free2shine@gmx.com's Profile")  Replied by *[free2shine@gmx.com](/forum/user/59868-free2shine-gmx-com "View free2shine@gmx.com's Profile")* on topic *[Wrong page heading for wishlist menuitem](/forum/41-wishlist/900812-wrong-page-heading-for-wishlist-menuitem#324364 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi I created a wishlist menu item, set its type to 'wishlist' instead of 'cart' but when I display the page the page heading is still 'cart&quot; even if I set a custom page heading in the 'page display' tab of the menu item !!  did you see that please ? thanks")*

Yes I did apply all the recommendations but it didn't change anything. I deleted the menu and recreated it but still no change...

I have now given up and I am using the wishlist module instead (in the article position). That works fine for me.

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

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