- Posts: 128
- Thank you received: 2
Issue with Serial Stats in HikaMarket Frontend
10 years 1 month ago #247462
by sabroso
Issue with Serial Stats in HikaMarket Frontend was created by sabroso
-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.1
-- Joomla version -- : 3.6.0
-- PHP version -- : 5.5.30
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : INVALID_DATA
Hi there,
I'm using Hikaserial and HikaMarket multi-vendor and I'm having an issue with vendors managing serials from the front end.
In this case, when a vendor goes to into “Serials” from his Vendor Account then it is presented with the screen like the one in the attachment. It shows the packs and the products that are linked with that pack. That's fine, but when I click on the stats icon for any of the products I get an error message INVALID_DATA.
In the attachment I show you where I click (the stats icon) and the URL that the stats icons points to (when I hover over the icon).
In the backend the vendors have all the permits enabled in the “Default Store Access”.
Any idea what might be going wrong?
-- HikaMarket version -- : 1.7.1
-- Joomla version -- : 3.6.0
-- PHP version -- : 5.5.30
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : INVALID_DATA
Hi there,
I'm using Hikaserial and HikaMarket multi-vendor and I'm having an issue with vendors managing serials from the front end.
In this case, when a vendor goes to into “Serials” from his Vendor Account then it is presented with the screen like the one in the attachment. It shows the packs and the products that are linked with that pack. That's fine, but when I click on the stats icon for any of the products I get an error message INVALID_DATA.
In the attachment I show you where I click (the stats icon) and the URL that the stats icons points to (when I hover over the icon).
In the backend the vendors have all the permits enabled in the “Default Store Access”.
Any idea what might be going wrong?
Please Log in or Create an account to join the conversation.
10 years 1 month ago #247467
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Issue with Serial Stats in HikaMarket Frontend
Hi,
The message "INVALID_DATA" is provided by HikaSerial.
That can happen if there is no "product_id" or "pack_id" parameter ; If the pack or the product do not belong to the vendor.
I can see the "edit" button for the pack, so can you please confirm that the product with id " 3 "is right assigned to the vendor you're currently using ?
Regards,
The message "INVALID_DATA" is provided by HikaSerial.
That can happen if there is no "product_id" or "pack_id" parameter ; If the pack or the product do not belong to the vendor.
I can see the "edit" button for the pack, so can you please confirm that the product with id " 3 "is right assigned to the vendor you're currently using ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
10 years 1 month ago #247609
by sabroso
Replied by sabroso on topic Issue with Serial Stats in HikaMarket Frontend
Hi,
Yes, product with ID=3 and the rest of the products are correctly assigned to the vendor I am logged in with when showing the screenshot.
The same error message occurs when trying to see the stats for the other products as well.
Can you reproduce the error?
Yes, product with ID=3 and the rest of the products are correctly assigned to the vendor I am logged in with when showing the screenshot.
The same error message occurs when trying to see the stats for the other products as well.
Can you reproduce the error?
Please Log in or Create an account to join the conversation.
10 years 1 month ago #247636
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Issue with Serial Stats in HikaMarket Frontend
Hi,
I am not able to reproduce the issue.
In my test website, I have a vendor with pack and products. I can display the stats with that vendor.
When I implemented the feature in HikaSerial, I perform these tests. That's why I am surprise of your problem.
So I think that I'll need an access to your website to check the data. But if you are still under "localhost", it will be difficult.
Regards,
I am not able to reproduce the issue.
In my test website, I have a vendor with pack and products. I can display the stats with that vendor.
When I implemented the feature in HikaSerial, I perform these tests. That's why I am surprise of your problem.
So I think that I'll need an access to your website to check the data. But if you are still under "localhost", it will be difficult.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
10 years 1 week ago #249811
by sabroso
Replied by sabroso on topic Issue with Serial Stats in HikaMarket Frontend
Hi,
I did more troubleshooting on this issue and I found out the following:
- The issue appears when there are more than 1 product linked with a particular Pack of serials.
- If I only have one product linked with a particular pack then the stats show fine.
- Please see the attachment for further clarity
Is this the way it is supposed to work? So, if we want to see the detailed serial stats for one product in the front end of Hikamarket, then we need to create one pack per product?
Please advise, thanks!
I did more troubleshooting on this issue and I found out the following:
- The issue appears when there are more than 1 product linked with a particular Pack of serials.
- If I only have one product linked with a particular pack then the stats show fine.
- Please see the attachment for further clarity
Is this the way it is supposed to work? So, if we want to see the detailed serial stats for one product in the front end of Hikamarket, then we need to create one pack per product?
Please advise, thanks!
Please Log in or Create an account to join the conversation.
10 years 1 week ago #249819
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Issue with Serial Stats in HikaMarket Frontend
Hi,
Thanks !
Please edit the file "administrator/components/com_hikaserial/classes/pack.php" and replace the line
By
And it will fix the issue for the vendor pack detection.
Regards,
Thanks !
Please edit the file "administrator/components/com_hikaserial/classes/pack.php" and replace the line
Code:
$vendorPackCache[$vendor_id][$pack_id] = ((int)$db->loadResult() == 1);
Code:
$vendorPackCache[$vendor_id][$pack_id] = ((int)$db->loadResult() > 0);
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
10 years 1 week ago #249843
by sabroso
Replied by sabroso on topic Issue with Serial Stats in HikaMarket Frontend
Hi,
Thanks, that sorts out the issue.
Will that change be applied to future versions of Hikaserial?
Thanks, that sorts out the issue.
Will that change be applied to future versions of Hikaserial?
Please Log in or Create an account to join the conversation.
10 years 1 week ago #249844
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Issue with Serial Stats in HikaMarket Frontend
Hi,
Yes, it will.
Regards,
Yes, it will.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: sabroso
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.235 seconds