5 edited body
source | link

I added a required customizable option (not sure about the name in English, in French, it's "Option personalizable"personalisable").

On the front, there is no problem until you try to add the product to the cart. At this moment it's printing you this message :

"The product's required option(s) weren't entered. Make sure the options are entered and try again."

I tried to get where the problem was happening in the code, and I found the place where the error was triggered : vendor/magento/module-catalog/Model/Product/Option/Type/DefaultType.php l216. When I tried to print get type($value), it gave me a "null".

I tried to go further in the core but cannot find where the bug is happening.

I added a required customizable option (not sure about the name in English, in French, it's "Option personalizable").

On the front, there is no problem until you try to add the product to the cart. At this moment it's printing you this message :

"The product's required option(s) weren't entered. Make sure the options are entered and try again."

I tried to get where the problem was happening in the code, and I found the place where the error was triggered : vendor/magento/module-catalog/Model/Product/Option/Type/DefaultType.php l216. When I tried to print get type($value), it gave me a "null".

I tried to go further in the core but cannot find where the bug is happening.

I added a required customizable option (not sure about the name in English, in French, it's "Option personalisable").

On the front, there is no problem until you try to add the product to the cart. At this moment it's printing you this message :

"The product's required option(s) weren't entered. Make sure the options are entered and try again."

I tried to get where the problem was happening in the code, and I found the place where the error was triggered : vendor/magento/module-catalog/Model/Product/Option/Type/DefaultType.php l216. When I tried to print get type($value), it gave me a "null".

I tried to go further in the core but cannot find where the bug is happening.

4 tag missing
source | link

I added a required customizable option (not sure about the name in English, in French, it's "Option personalizable").

On the front, there is no problem until you try to add the product to the cart. At this moment it's printing you this message :

"The product's required option(s) weren't entered. Make sure the options are entered and try again."

I tried to get where the problem was happening in the code, and I found the place where the error was triggered : vendor/magento/module-catalog/Model/Product/Option/Type/DefaultType.php l216. When I tried to print get type($value), it gave me a "null".

I tried to go further in the core but cannot find where the bug is happening.

Do you have any idea how I can resolve this error?

Feel free to ask for more details Thank you

I added a required customizable option (not sure about the name in English, in French, it's "Option personalizable").

On the front, there is no problem until you try to add the product to the cart. At this moment it's printing you this message :

"The product's required option(s) weren't entered. Make sure the options are entered and try again."

I tried to get where the problem was happening in the code, and I found the place where the error was triggered : vendor/magento/module-catalog/Model/Product/Option/Type/DefaultType.php l216. When I tried to print get type($value), it gave me a "null".

I tried to go further in the core but cannot find where the bug is happening.

Do you have any idea how I can resolve this error?

Feel free to ask for more details Thank you

I added a required customizable option (not sure about the name in English, in French, it's "Option personalizable").

On the front, there is no problem until you try to add the product to the cart. At this moment it's printing you this message :

"The product's required option(s) weren't entered. Make sure the options are entered and try again."

I tried to get where the problem was happening in the code, and I found the place where the error was triggered : vendor/magento/module-catalog/Model/Product/Option/Type/DefaultType.php l216. When I tried to print get type($value), it gave me a "null".

I tried to go further in the core but cannot find where the bug is happening.

3 tag missing
| link
2 typo error
source | link
1
source | link