Below is the php code to create an order in magento. It requires a valid customer account with shipping and…
Classic Blog List
Below is a php code to create invoice for an order in magento. $order = Mage::getModel(‘sales/order’)->loadByIncrementId(‘100000001’);try {if(!$order->canInvoice()){Mage::throwException(Mage::helper(‘core’)->__(‘Cannot create an invoice.’));}…
Below is a php code to create a shipment for an order in magento. $order = Mage::getModel(‘sales/order’)->loadByIncrementId(‘100000001’); try { if($order->canShip())…
Below is a php code to create a credit memo for an order in magento.$order = Mage::getModel(‘sales/order’)->load(‘100000001’, ‘increment_id’); if (!$order->getId())…
The solution was quite simple, this one doesn’t mess up the paths. However it feels like this method is slower….
Go System->Configuration->Google API->Google CheckoutEnable Google Checkout and other configurations set details about your google checkout like merchant id, merchant key…
Many time during design and development of magento theme we require toremove default top menu bar of magento to do…
Most of the time we want to access Store Contact info at different places of our magento site to do…





