- Posts: 163
- Thank you received: 11
Vendor selection custom field error
-- HikaMarket version -- : 3.0.2
-- Joomla version -- : 3.9.6
-- PHP version -- : 7.2.21
-- Browser(s) name and version -- : Firefox 68.0.1
-- Error-message(debug-mod must be tuned on) -- : Call to a member function setQuery() on null
[...]/administrator/components/com_hikamarket/types/vendor_selection.php:38
Hi,
I can not create a custom field with Vendor Selection type (in order table).
I just updated HikaMarket but the latest version does not fix the problem. The patch corrects the problem for the item table, but does it also correct the problem for order table?
Best regards
Edit : On item table, the problem also occurs.
Please Log in or Create an account to join the conversation.
You are referring to that forum thread ?
www.hikashop.com/forum/22-market-bug-rep...election.html#308502
Would it be possible to have more details about your custom field configuration ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Table : order
Column name : pointretrait5
Label : Points retrait 5
Field type : Checkbox
Required : no
Front-end :no
Back-end Form : yes
Backend Listing : no
Published :yes
Core : no
Regards
Please Log in or Create an account to join the conversation.
If your field is a "checkbox", it cannot be a "vendor selector" ; you did not select the right type.
Regards,
PS : Screenshot can be easier than text for custom field settings.
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please provide a screenshot of the full configuration, when you edit the item.
The listing do not allow to see if the field will be displayed during the checkout, etc.
Afterwards, please check that you configured the "allow vendor selector" in the HikaMarket configuration :
www.hikashop.com/support/documentation/1...onfig_market_general
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You have to follow the instructions from that forum post :
www.hikashop.com/forum/22-market-bug-rep...election.html#308530
It means, applying the patch AND using the right "vendor selector type"
Regarding the issue, the vendor selection type is deprecated and should use a namebox instead.
If you're not following these instructions, the bug will continue.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I added to the constructor
Does it will be fixed or must I overide properly the file ?
Thank you Jerome ! Regards
Please Log in or Create an account to join the conversation.
The fix will be include in the coming release.
Please note that the vendor selector type you're using is deprecated ; only the namebox type will be supported in the future.
Only the namebox allow to have a good interface when having a lot of vendors ; the dropdown mode was switching to a popup which is not good enough.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.