v1.0.7: How to fix issue not showing message when user doesn't select configurable product option?

Created by Jane D, Modified on Wed, 20 Oct 2021 at 04:15 PM by Jane D

QUESTION:


I use module v1.0.7 for my site Magento 2.4.1. It works fine except there is no message showing if the user doesn't select the child option of the configurable product.

According to default logic, if the user clicks the add to cart button without selecting any option, a message should be shown.


Please check and share the fix!


ANSWER:


To add the message, please edit the file Bss/CABAV/Controller/Cart/Add.php with the code below:



If you have any other question or concern, please feel free to contact us. We'd be happy to support!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article