last item in cart
I am looking for a way to retrieve the itemid (and from this its category and categoryid) from the last item added to the cart.
I tried creating an array on the cart page, to populate as the basket looper code is run, but this doesn't give me the desired result if i add 2 of the same item non-consecutively.