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

#   Template overrides

##

- **[theDigger](/forum/user/349-thedigger "View theDigger's Profile")**
- [![theDigger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/frog.gif)](/forum/user/349-thedigger "View theDigger's Profile") Topic Author
- [ Offline](/forum/user/349-thedigger)

Less More

- Posts: 23
- Thank you received: 0
-
-

15 years 11 months ago [\#2058](#2058) by [theDigger](/forum/user/349-thedigger "View theDigger's Profile")  *[Template overrides](/forum/4-how-to/2058-template-overrides#2058 "Hi,  I can't get template overrides to work. I have checked which layout it is that I should edit by trying to edit the core layout. It's product/listing&#95;img&#95;title.php. I have used the layout editor in hikashop to edit this layout but my changes doesn't have any effect.  What can I be doing wrong?  I'm using Hikashop Essential.  Regards, Nils")* was created by *[theDigger](/forum/user/349-thedigger "View theDigger's Profile")*

Hi,

I can't get template overrides to work. I have checked which layout it is that I should edit by trying to edit the core layout. It's product/listing_img_title.php. I have used the layout editor in hikashop to edit this layout but my changes doesn't have any effect.

What can I be doing wrong?

I'm using Hikashop Essential.

Regards, Nils

---

Hikashop Essential 1.4.0

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

15 years 11 months ago [\#2059](#2059) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Template overrides](/forum/4-how-to/2058-template-overrides#2059 "Hi,  I can't get template overrides to work. I have checked which layout it is that I should edit by trying to edit the core layout. It's product/listing&#95;img&#95;title.php. I have used the layout editor in hikashop to edit this layout but my changes doesn't have any effect.  What can I be doing wrong?  I'm using Hikashop Essential.  Regards, Nils")*

Hi,

You should try the code change explained there:
[ www.hikashop.com/en/support/forum/4-how-...n-checkout.html#1852](http://www.hikashop.com/en/support/forum/4-how-to/1850-not-to-view-image-gallery-on-checkout.html#1852)

That's a problem we found last week and which will be included in next release at the beginning of the week.

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

- **[theDigger](/forum/user/349-thedigger "View theDigger's Profile")**
- [![theDigger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/frog.gif)](/forum/user/349-thedigger "View theDigger's Profile") Topic Author
- [ Offline](/forum/user/349-thedigger)

Less More

- Posts: 23
- Thank you received: 0
-
-

15 years 11 months ago [\#2062](#2062) by [theDigger](/forum/user/349-thedigger "View theDigger's Profile")  Replied by *[theDigger](/forum/user/349-thedigger "View theDigger's Profile")* on topic *[Re: Template overrides](/forum/4-how-to/2058-template-overrides#2062 "Hi,  I can't get template overrides to work. I have checked which layout it is that I should edit by trying to edit the core layout. It's product/listing&#95;img&#95;title.php. I have used the layout editor in hikashop to edit this layout but my changes doesn't have any effect.  What can I be doing wrong?  I'm using Hikashop Essential.  Regards, Nils")*

Hi,

Thanks for the fast reply. I tried this fix and now I get a 500 error with this message: Layout "default" not found

I edited the getLayout function in /administrator/components/com_hikashop/helpers/helper.php. The code was around line 627. In the post you linked to it said it should be around line 380 so there's something strange there.

---

Hikashop Essential 1.4.0

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

15 years 11 months ago [\#2063](#2063) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Template overrides](/forum/4-how-to/2058-template-overrides#2063 "Hi,  I can't get template overrides to work. I have checked which layout it is that I should edit by trying to edit the core layout. It's product/listing&#95;img&#95;title.php. I have used the layout editor in hikashop to edit this layout but my changes doesn't have any effect.  What can I be doing wrong?  I'm using Hikashop Essential.  Regards, Nils")*

You didn't modify the good one. The one you should modify is in the function getLayout:

function getLayout($controller,$layout,$params,&amp;$js)

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

- **[theDigger](/forum/user/349-thedigger "View theDigger's Profile")**
- [![theDigger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/frog.gif)](/forum/user/349-thedigger "View theDigger's Profile") Topic Author
- [ Offline](/forum/user/349-thedigger)

Less More

- Posts: 23
- Thank you received: 0
-
-

15 years 11 months ago [\#2064](#2064) by [theDigger](/forum/user/349-thedigger "View theDigger's Profile")  Replied by *[theDigger](/forum/user/349-thedigger "View theDigger's Profile")* on topic *[Re: Template overrides](/forum/4-how-to/2058-template-overrides#2064 "Hi,  I can't get template overrides to work. I have checked which layout it is that I should edit by trying to edit the core layout. It's product/listing&#95;img&#95;title.php. I have used the layout editor in hikashop to edit this layout but my changes doesn't have any effect.  What can I be doing wrong?  I'm using Hikashop Essential.  Regards, Nils")*

There is only one "function getLayout($controller,$layout,$params,&amp;$js)" and it starts on line 608 in my file.

---

Hikashop Essential 1.4.0

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

15 years 11 months ago [\#2065](#2065) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Template overrides](/forum/4-how-to/2058-template-overrides#2065 "Hi,  I can't get template overrides to work. I have checked which layout it is that I should edit by trying to edit the core layout. It's product/listing&#95;img&#95;title.php. I have used the layout editor in hikashop to edit this layout but my changes doesn't have any effect.  What can I be doing wrong?  I'm using Hikashop Essential.  Regards, Nils")*

Do you use the latest version of HikaShop (1.3.6) ?

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

- **[theDigger](/forum/user/349-thedigger "View theDigger's Profile")**
- [![theDigger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/frog.gif)](/forum/user/349-thedigger "View theDigger's Profile") Topic Author
- [ Offline](/forum/user/349-thedigger)

Less More

- Posts: 23
- Thank you received: 0
-
-

15 years 11 months ago [\#2066](#2066) by [theDigger](/forum/user/349-thedigger "View theDigger's Profile")  Replied by *[theDigger](/forum/user/349-thedigger "View theDigger's Profile")* on topic *[Re: Template overrides](/forum/4-how-to/2058-template-overrides#2066 "Hi,  I can't get template overrides to work. I have checked which layout it is that I should edit by trying to edit the core layout. It's product/listing&#95;img&#95;title.php. I have used the layout editor in hikashop to edit this layout but my changes doesn't have any effect.  What can I be doing wrong?  I'm using Hikashop Essential.  Regards, Nils")*

Yes, I thought so but now it seems that not all the files have been updated during the upgrade from starter to essential. Will check this out now.

---

Hikashop Essential 1.4.0

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

15 years 11 months ago [\#2067](#2067) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Template overrides](/forum/4-how-to/2058-template-overrides#2067 "Hi,  I can't get template overrides to work. I have checked which layout it is that I should edit by trying to edit the core layout. It's product/listing&#95;img&#95;title.php. I have used the layout editor in hikashop to edit this layout but my changes doesn't have any effect.  What can I be doing wrong?  I'm using Hikashop Essential.  Regards, Nils")*

I just checked the essential package of the latest version and the setLayout line is on the line 333. It seems that you have a different file...Maybe a problem with the update or something ?

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

- **[theDigger](/forum/user/349-thedigger "View theDigger's Profile")**
- [![theDigger's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/frog.gif)](/forum/user/349-thedigger "View theDigger's Profile") Topic Author
- [ Offline](/forum/user/349-thedigger)

Less More

- Posts: 23
- Thank you received: 0
-
-

15 years 11 months ago [\#2070](#2070) by [theDigger](/forum/user/349-thedigger "View theDigger's Profile")  Replied by *[theDigger](/forum/user/349-thedigger "View theDigger's Profile")* on topic *[Re: Template overrides](/forum/4-how-to/2058-template-overrides#2070 "Hi,  I can't get template overrides to work. I have checked which layout it is that I should edit by trying to edit the core layout. It's product/listing&#95;img&#95;title.php. I have used the layout editor in hikashop to edit this layout but my changes doesn't have any effect.  What can I be doing wrong?  I'm using Hikashop Essential.  Regards, Nils")*

Yes, this was the problem. I manually uploaded the files and now I got it working. Thanks for the help!

---

Hikashop Essential 1.4.0

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

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