I'm using the eShop session data in my plugin, to read the total value of the cart (stored in
$_SESSION['final_price']). It looks like it doesn't update properly though, because right after I add a product to my cart, the total is just the sum of the single product price of all the products in the cart.
So if I add
Product X, 3x €10
Product Y, 2x €10
it displays a total of €20, right after I've added the product (i.e. when I'm redirected to the cart page). Then, when I browse on, the session final_price value gets the correct value (€50). I've worked around that now by manually looping through the cart contents (also stored in the session data), but of course it would be easier to just read the final_price value.