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

#   Order product list on the frontend- PROBLEM

##

- **[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 -  15 years 5 months ago [\#18001](#18001) by [gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile")  *[Order product list on the frontend- PROBLEM](/forum/4-how-to/18001-order-product-list-on-the-frontend-problem#18001 "Hi,  I don't know what went wrong here:  can somebody help me?")* was created by *[gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile")*

Hi,

I don't know what went wrong here:

can somebody help me?

Last edit: 15 years 5 months ago by [gerard\_pp](/forum/user/2611-gerard-pp "View gerard&#95;pp's Profile"). Reason: image removed

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

15 years 5 months ago [\#18003](#18003) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Order product list on the frontend- PROBLEM](/forum/4-how-to/18001-order-product-list-on-the-frontend-problem#18003 "Hi,  I don't know what went wrong here:  can somebody help me?")*

What code do you have on that line in that file ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE4MDAxLW9yZGVyLXByb2R1Y3QtbGlzdC1vbi10aGUtZnJvbnRlbmQtcHJvYmxlbT90bXBsPW1hcmtkb3du) 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 [\#18005](#18005) 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: Order product list on the frontend- PROBLEM](/forum/4-how-to/18001-order-product-list-on-the-frontend-problem#18005 "Hi,  I don't know what went wrong here:  can somebody help me?")*

[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/code.jpg) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/code.jpg "&#91;img")

- [ ![code.jpg](/forum/attachment/1222) ](/forum/attachment/1222 "code.jpg") [ ](/forum/attachment/1222?download=1 "code.jpg")

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

15 years 5 months ago [\#18006](#18006) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Order product list on the frontend- PROBLEM](/forum/4-how-to/18001-order-product-list-on-the-frontend-problem#18006 "Hi,  I don't know what went wrong here:  can somebody help me?")*

There is no foreach on that 198 line. Are you sure that you did the screenshot for the correct file ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE4MDAxLW9yZGVyLXByb2R1Y3QtbGlzdC1vbi10aGUtZnJvbnRlbmQtcHJvYmxlbT90bXBsPW1hcmtkb3du) 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 [\#18008](#18008) 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: Order product list on the frontend- PROBLEM](/forum/4-how-to/18001-order-product-list-on-the-frontend-problem#18008 "Hi,  I don't know what went wrong here:  can somebody help me?")*

Sorry about that. This is the file:
[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/code-20110606.jpg) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/code-20110606.jpg "&#91;img")

- [ ![code-20110606.jpg](/forum/attachment/1223) ](/forum/attachment/1223 "code-20110606.jpg") [ ](/forum/attachment/1223?download=1 "code-20110606.jpg")

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

15 years 5 months ago [\#18009](#18009) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Order product list on the frontend- PROBLEM](/forum/4-how-to/18001-order-product-list-on-the-frontend-problem#18009 "Hi,  I don't know what went wrong here:  can somebody help me?")*

You don't have the code of the latest version so that's why you have that message.
The easiest will be to just change that line to:
foreach(@$product-&gt;files as $file){

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE4MDAxLW9yZGVyLXByb2R1Y3QtbGlzdC1vbi10aGUtZnJvbnRlbmQtcHJvYmxlbT90bXBsPW1hcmtkb3du) 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 [\#18011](#18011) 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: Order product list on the frontend- PROBLEM](/forum/4-how-to/18001-order-product-list-on-the-frontend-problem#18011 "Hi,  I don't know what went wrong here:  can somebody help me?")*

Looks like it is still messed up

Is the php file on my template's folder the same as the joomla views/orders/tmpl/show.php?

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

15 years 5 months ago [\#18012](#18012) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Order product list on the frontend- PROBLEM](/forum/4-how-to/18001-order-product-list-on-the-frontend-problem#18012 "Hi,  I don't know what went wrong here:  can somebody help me?")*

No.In the latest version of HikaShop, the code is not like that and this error does not appear. You must be using the code from a previous release.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE4MDAxLW9yZGVyLXByb2R1Y3QtbGlzdC1vbi10aGUtZnJvbnRlbmQtcHJvYmxlbT90bXBsPW1hcmtkb3du) 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 [\#18014](#18014) 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: Order product list on the frontend- PROBLEM](/forum/4-how-to/18001-order-product-list-on-the-frontend-problem#18014 "Hi,  I don't know what went wrong here:  can somebody help me?")*

I recently updated to hikashop 1.5.1 Looks like the code is messed... Can you please send me the updated code to replace what i have on my template's folder?

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

15 years 5 months ago [\#18015](#18015) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Order product list on the frontend- PROBLEM](/forum/4-how-to/18001-order-product-list-on-the-frontend-problem#18015 "Hi,  I don't know what went wrong here:  can somebody help me?")*

Just click on the "remove customization" icon on the views listing for that view and you will use automatically the new version.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE4MDAxLW9yZGVyLXByb2R1Y3QtbGlzdC1vbi10aGUtZnJvbnRlbmQtcHJvYmxlbT90bXBsPW1hcmtkb3du) 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 [\#18018](#18018) 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: Order product list on the frontend- PROBLEM](/forum/4-how-to/18001-order-product-list-on-the-frontend-problem#18018 "Hi,  I don't know what went wrong here:  can somebody help me?")*

:laugh:
I was surprised on how easy this error got fixed. If i knew from the beginning it was so easy, i wouldn't bother you.
Thanks again bro.

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

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