Magento Themes and Magento Extensions

Magento sample order checkout

Posted on May 28th, 2013 | Posted by admin

In my site there are products like curtains and customer can choose different color for curtains, for color we are using custom options so customer can choose different color, but there are we have requirement that customer can order sample color to look and feel before buying actual product, so how we can give sample order functionality.

Colors are not actual product so we can’t use magento checkout functionality but if customer order sample product then how we can handle this sample order?

Magento : how to set the same order increment id for all stores

Posted on March 6th, 2013 | Posted by admin

Magento in default sets different order increment id for each of you magento store or store views.
Here is simple fix to set the same order increment id for all your store.
Run the following code once from anywhere within your site.


Create Magento order invoice programmatically

Posted on February 14th, 2013 | Posted by admin

Create Magento order invoice programmatically
Here is a quick and easy way to create order invoice programmatically.

Suppose, $_order contains your order.

Here goes the code to create invoice:-

Magento: Create multi shipment for an order programmatically

Posted on November 11th, 2012 | Posted by admin

This is another post for Magento programmer who needs to work with an extension for creating shipment for Magento order. You will need to use this when you have a module which connects Magento store with a vendor store. Basically, you need to program a script to create shipment for Magento automatically.

First, you will need to load an order using order increment id:

$order = Mage::getModel('sales/order')->loadByIncrementId($orderId);

How to change Default Sort Order Magento

Posted on January 7th, 2012 | Posted by admin

I’ll be clear… Magento is not good as you could imagine. In fact sucks in so many ways.

Today i’m showing you one. There is no backend option to change the Default Sort Order in your product listing (catalog).

Lucky there is an easy solution.
The Toolbar
Look for the file toolbar.php located in:

Create the Local folder
Create the same folder structure in the local. Now the future upgrades will not affect your changes.

Should be like:


Page 1 of 3123»