I want to get the Full Price, including the Custom Option price on Add To Cart.
I've tested using the checkout_cart_add_product_complete event with below observer:
class CheckoutCartAddProductObserver implements ObserverInterface
{
public function execute(EventObserver $observer)
{
$product = $observer->getEvent()->getQuoteItem();
$price = $product->getPriceInfo()->getPrice('final_price')->getValue();
}
}
Which gives me the final price of the product, but it doesn't include the price of the option. The option is of type dropdown, if that makes a difference.