2
votes
Accepted
Getting child product of configurable in Observer?
To get child product data for configurable products within the "checkout_cart_product_add_after" event, you can use the following approach.
Firstly create the events.xml file in your module
&...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
configurable-product × 2083magento2 × 650
magento-1.9 × 467
product × 255
simple-product × 199
price × 153
product-attribute × 136
attributes × 118
magento-2.1 × 94
custom-options × 90
swatches × 88
magento-1.7 × 71
cart × 64
magento2.3 × 59
magento-1.8 × 59
addtocart × 57
color-swatches × 52
associate-products × 47
php × 46
import × 46
products × 46
out-of-stock × 45
configurable-swatches × 42
product-images × 40
stock × 38