Skip to main content
1 of 2
Fabian Schmengler
  • 66.1k
  • 25
  • 188
  • 422

You get the quote by:

$quote = Mage::getSingleton('checkout/cart')->getQuote();

then you have access to all items:

$quote->getAllItems()

And follow the instructions of the original answer

Fabian Schmengler
  • 66.1k
  • 25
  • 188
  • 422