Month: November 2012

Magento – Set Order Status Programmatically

While working on a project this evening, I was tasked with setting the order status of all orders within September to Complete automatically, no notifications to the customer, and a comment was needed for exporting later. Below is how it

Posted in Magento, Magento Enterprise, PHP

Magento – Get Orders within a Specified Date Range Collection

A quick update again! I needed to grab all orders within a specific time frame, and run a cron job each day to grab the past 7 days worth of orders that were not set to Complete. Below is how

Posted in Magento, Magento Enterprise, PHP