Issue with configurable product variants creation
-
Hi guys. When creating a configurable product, how can I prevent variants from being generated automatically. Or, in other words, how can I override afterProductCreatedUpdated method?
-
Hi @k3rnel,
Check this file
packages/Webkul/Product/src/Type/Configurable.php
. You need to override this one.There is a
create
method in which it's callingcreateVariant
. -
Hi @devansh-webkul .
How can I just overwrite Event Listener that responsible for creating variants?
-
Hi @devansh-webkul .
If you have time for my question, can you answer, please?
-
Hi @k3rnel,
Sorry, for the late reply.
Which one can you share with me the path of that event listener file?