- Posts: 237
- Thank you received: 5
SOLVED No product data in CSV export
11 years 6 months ago - 11 years 6 months ago #193317
by ltempest
SOLVED No product data in CSV export was created by ltempest
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.0
HELP,
I have updated HikaShop to version 2.4.0 running on Joomla 3.4.0
I have a Mass Action to export a CSV file when an order is created. However the CSV file contains no product data is included in the csv file, only the field titles. See my attached screenshot of the CSV selection of just the Product related fields and also the attcahed CSV file which is created as a result of the order. It contains NO product information.
Please help I need to find a resolution to this issue ASAP!
Thanks
Lee
-- Joomla version -- : 3.4.0
HELP,
I have updated HikaShop to version 2.4.0 running on Joomla 3.4.0
I have a Mass Action to export a CSV file when an order is created. However the CSV file contains no product data is included in the csv file, only the field titles. See my attached screenshot of the CSV selection of just the Product related fields and also the attcahed CSV file which is created as a result of the order. It contains NO product information.
Please help I need to find a resolution to this issue ASAP!
Thanks
Lee
Last edit: 11 years 6 months ago by ltempest. Reason: Solved
Please Log in or Create an account to join the conversation.
11 years 6 months ago #193335
by nicolas
Replied by nicolas on topic No product data in CSV export
Hi,
Could you please provide a screenshot of all the options of the mass action so that we can understand the problem ?
Could you please provide a screenshot of all the options of the mass action so that we can understand the problem ?
Please Log in or Create an account to join the conversation.
11 years 6 months ago #193486
by ltempest
Replied by ltempest on topic No product data in CSV export
I have tried with ALL options selected and every combination, but nothing I select for the field names exports the product details.
Here is the screen shot.
Here is the screen shot.
Please Log in or Create an account to join the conversation.
11 years 6 months ago - 11 years 6 months ago #193599
by denoo
Replied by denoo on topic No product data in CSV export
Hi,
the same problem after upgrade to 2.4.0. Meantime I'm using administrator/components/com_hikashop/classes/massaction.php (version 2.3.5). There is some warning when I'm trying to make export manually, but csv looks fine.
Denis
PS.: Joomla 2.5
the same problem after upgrade to 2.4.0. Meantime I'm using administrator/components/com_hikashop/classes/massaction.php (version 2.3.5). There is some warning when I'm trying to make export manually, but csv looks fine.
Denis
PS.: Joomla 2.5
Last edit: 11 years 6 months ago by denoo.
Please Log in or Create an account to join the conversation.
11 years 6 months ago #193788
by Xavier
Replied by Xavier on topic No product data in CSV export
Hi,
There was indeed an error in the new massaction class file.
Please replace the file "administrator/components/com_hikashop/classes/massaction.php" by this one:
There was indeed an error in the new massaction class file.
Please replace the file "administrator/components/com_hikashop/classes/massaction.php" by this one:
This attachment is hidden for guests.
Please log in or register to see it.
Please log in or register to see it.
Please Log in or Create an account to join the conversation.
11 years 6 months ago - 11 years 6 months ago #193814
by ltempest
Replied by ltempest on topic No product data in CSV export
Thanks for investigating the issue. I have uploaded the file included in your post but it is still exactly the same and no product data is exported.
Please investigate and fix this ASAP my client is very unhappy!
Lee
As the previous poster mentioned the 2.3.5 massaction.php file still works when you replace the 2.4.0 version. However this only works from the Process button in the backend, through the frontend and completing an order it just gives a blank white screen.
Please investigate and fix this ASAP my client is very unhappy!
Lee
As the previous poster mentioned the 2.3.5 massaction.php file still works when you replace the 2.4.0 version. However this only works from the Process button in the backend, through the frontend and completing an order it just gives a blank white screen.
Last edit: 11 years 6 months ago by ltempest.
Please Log in or Create an account to join the conversation.
11 years 6 months ago #193823
by ltempest
Replied by ltempest on topic No product data in CSV export
Using the 2.3.5 version of the classes/massaction.php file, as mentioned works from the backend when you click the Process button however via the frontend checkout all that is displayed is a blank white screen. With Error Reporting set to Development this is the error displayed in the frontend:
Notice: Trying to get property of non-object in /home/underdev/public_html/hunterxci/administrator/components/com_hikashop/classes/cart.php on line 1692
Notice: Trying to get property of non-object in /home/underdev/public_html/hunterxci/administrator/components/com_hikashop/classes/cart.php on line 1692
Catchable fatal error: Object of class stdClass could not be converted to string in /home/underdev/public_html/hunterxci/administrator/components/com_hikashop/classes/massaction.php on line 2305
Notice: Trying to get property of non-object in /home/underdev/public_html/hunterxci/administrator/components/com_hikashop/classes/cart.php on line 1692
Notice: Trying to get property of non-object in /home/underdev/public_html/hunterxci/administrator/components/com_hikashop/classes/cart.php on line 1692
Catchable fatal error: Object of class stdClass could not be converted to string in /home/underdev/public_html/hunterxci/administrator/components/com_hikashop/classes/massaction.php on line 2305
Please Log in or Create an account to join the conversation.
11 years 6 months ago - 11 years 6 months ago #193824
by Xavier
Replied by Xavier on topic No product data in CSV export
Hi,
Still in the file "administrator/components/com_hikashop/classes/massaction.php", function "_exportCSV()", please replace:
By:
Please give your corresponding line for the error:
Still in the file "administrator/components/com_hikashop/classes/massaction.php", function "_exportCSV()", please replace:
Code:
if(!is_array($table)) continue;
Code:
if(!is_array($table) && !is_object($table)) continue;
Please give your corresponding line for the error:
Catchable fatal error: Object of class stdClass could not be converted to string in /home/underdev/public_html/hunterxci/administrator/components/com_hikashop/classes/massaction.php on line 2305
Last edit: 11 years 6 months ago by Xavier.
Please Log in or Create an account to join the conversation.
11 years 6 months ago #193869
by ltempest
Replied by ltempest on topic No product data in CSV export
FANTASTIC,
It now seems to be working.
Thanks so much.
The catchable error has also gone I think this may have been tied to the 2.3.5 version of the massaction file running in the 2.4.0 version?
It now seems to be working.
Thanks so much.
The catchable error has also gone I think this may have been tied to the 2.3.5 version of the massaction file running in the 2.4.0 version?
Please Log in or Create an account to join the conversation.
Time to create page: 0.237 seconds