- Posts: 23
- Thank you received: 0
variant null value issue
- dmccrearyhika
-
Topic Author
- Offline
Less
More
3 years 7 months ago - 3 years 7 months ago #349230
by dmccrearyhika
variant null value issue was created by dmccrearyhika
-- HikaShop version -- : 4.7.0
-- Joomla version -- : 3.10.11
-- PHP version -- : 8.0.27
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : NONE is not an acceptable value
We allow a customer to choose 0, 1, 2 or 3 different custom embroideries on a number of products.
To do that we add an option which is another product with four variants. None - One - Two - Three
The problem which has just appeared after PHP and Hikashop updates is that the NONE value (a customer who wants no custom embroidery) now tosses up, briefly, an error message that NONE is not an acceptable value... or something like that.
I solved the problem by assigning a value to the NONE variant of 0.01 USD as that variant will not accept zero as a value.
This did not happen before.
What is the fix????
thanks
-- Joomla version -- : 3.10.11
-- PHP version -- : 8.0.27
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : NONE is not an acceptable value
We allow a customer to choose 0, 1, 2 or 3 different custom embroideries on a number of products.
To do that we add an option which is another product with four variants. None - One - Two - Three
The problem which has just appeared after PHP and Hikashop updates is that the NONE value (a customer who wants no custom embroidery) now tosses up, briefly, an error message that NONE is not an acceptable value... or something like that.
I solved the problem by assigning a value to the NONE variant of 0.01 USD as that variant will not accept zero as a value.
This did not happen before.
What is the fix????
thanks
Last edit: 3 years 7 months ago by dmccrearyhika.
Please Log in or Create an account to join the conversation.
3 years 7 months ago #349237
by nicolas
Replied by nicolas on topic variant null value issue
Hi,
Could you provide the exact error message you get ?
Also, please try turning on the "debug" setting of the Joomla configuration and trying again. You shuold hopefully get more information when that error message is displayed.
Could you provide the exact error message you get ?
Also, please try turning on the "debug" setting of the Joomla configuration and trying again. You shuold hopefully get more information when that error message is displayed.
Please Log in or Create an account to join the conversation.
Time to create page: 0.169 seconds