Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

using cart within my code - how to see whats in the cart? 
 
lakikeanu
Jr. Member
 
Total Posts:  24
Joined:  2008-06-16
 

Hi,
I am trying access the cart from ‘outside’, ie: from my own application. Here’s my code:

<?PHP
require('app/Mage.php'); 
Mage::app('default'); 

 
var_dump($cart->_productIds);
?>

I need to see whats inside the cart at this moment. Dont know what function to call. Please help.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top