Using checkout_cart_product_add_after
event I am trying to show the Back Order Message on the Product View Page but I am not getting the product id from the Observer(Id of Configurable Product Variation). I am only getting the parent Id(Configurable Product Id).
How should I proceed?