variant null value issue

  • Posts: 23
  • Thank you received: 0
  • Hikashop Business
1 year 2 months ago #349230

-- 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

Attachments:
Last edit: 1 year 2 months ago by dmccrearyhika.

Please Log in or Create an account to join the conversation.

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
1 year 2 months ago #349237

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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum