- Posts: 44
- Thank you received: 0
Order product list on the frontend- PROBLEM
15 years 3 months ago - 15 years 3 months ago #18001
by gerard_pp
Order product list on the frontend- PROBLEM was created by gerard_pp
Hi,
I don't know what went wrong here:
can somebody help me?
I don't know what went wrong here:
can somebody help me?
Last edit: 15 years 3 months ago by gerard_pp. Reason: image removed
Please Log in or Create an account to join the conversation.
15 years 3 months ago #18003
by nicolas
Replied by nicolas on topic Re: Order product list on the frontend- PROBLEM
What code do you have on that line in that file ?
Please Log in or Create an account to join the conversation.
15 years 3 months ago #18005
by gerard_pp
Replied by gerard_pp on topic Re: Order product list on the frontend- PROBLEM
Please Log in or Create an account to join the conversation.
15 years 3 months ago #18006
by nicolas
Replied by nicolas on topic Re: Order product list on the frontend- PROBLEM
There is no foreach on that 198 line. Are you sure that you did the screenshot for the correct file ?
Please Log in or Create an account to join the conversation.
15 years 3 months ago #18008
by gerard_pp
Replied by gerard_pp on topic Re: Order product list on the frontend- PROBLEM
Please Log in or Create an account to join the conversation.
15 years 3 months ago #18009
by nicolas
Replied by nicolas on topic Re: Order product list on the frontend- PROBLEM
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->files as $file){
The easiest will be to just change that line to:
foreach(@$product->files as $file){
Please Log in or Create an account to join the conversation.
15 years 3 months ago #18011
by gerard_pp
Replied by gerard_pp on topic Re: Order product list on the frontend- PROBLEM
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?
Is the php file on my template's folder the same as the joomla views/orders/tmpl/show.php?
Please Log in or Create an account to join the conversation.
15 years 3 months ago #18012
by nicolas
Replied by nicolas on topic Re: Order product list on the frontend- PROBLEM
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 or Create an account to join the conversation.
15 years 3 months ago #18014
by gerard_pp
Replied by gerard_pp on topic Re: Order product list on the frontend- PROBLEM
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 or Create an account to join the conversation.
15 years 3 months ago #18015
by nicolas
Replied by nicolas on topic Re: Order product list on the frontend- PROBLEM
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 or Create an account to join the conversation.
15 years 3 months ago #18018
by gerard_pp
Replied by gerard_pp on topic Re: Order product list on the frontend- PROBLEM
: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.
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 or Create an account to join the conversation.
Time to create page: 0.267 seconds