Does anyone know a nice way to get the last lineItem(s) added to a cart in craft commerce via twig template? Example use case, an 'added to cart' confirmation page. I know for this you could query param a product/variant id but multiple could be submitted.
I attempted {cart.lineItems | last}
but they do not seem to be in date order. I also checked the class models but didn't find any helpful methods or attributes.
Perhaps some kind of db query, as sql has date fields?