How to get Abandoned product details in Magento API
Hello All,
I am writing REST API to get the abandoned cart details in Magento. In that I can able to get abandoned details ( Customer Name, Customer Email, No.of Products in Cart) . In addition with I would like to get the products name. Please suggest how can I achieve this.
Below is the code that I used for abandoned cart details.
$collection = Mage::getResourceModel('reports/quote_collection');
$collection->prepareForAbandonedReport();
$output = $collection->load()->toArray();
Thanks