Magento Themes and Magento Extensions

How To Append Additional Fields In Magento’s Default Contact Form?

Posted on May 6th, 2013 | Posted by admin

Magento itself provides a lean Contact Us form which can be used by customers to contact the store owners. But, what if you want to take additional inputs from your user? Customizing Magento Contact Us form is one of the most common request any Magento developer recives. So, here is an easy way of appending/inserting more fields to customize Magento Contact form.

Step 1. Edit form.phtml file located atapp/design/frontend/default/YOUR_THEME/template/contacts/form.phtml. Suppose you want to add subject field after telephone. Then find the following lines of code

How to Display New Products in Magento with Pagination?

Posted on March 27th, 2013 | Posted by admin

Displaying new products to a specific category in any Magento site , with pagination and a CMS page is really very complicated. The default functionality that Magento offers for latest products doesn’t just work. However, below is documented the method that will let you add new products to a Magento CMS page along with pulling up new products for any category you select, or for the entire site. Whether you are looking to include new products to your CMS page by category or for the whole site, it all depends upon you.

How to add new products with built-in Magento Tools?

Displaying or adding a list of new products in Magento through a default block is made possible without any coding issues or changes to Magento itself. This code allows you to roll out a roster of new products on the CMS page of your liking.

How to display new products in Magento with Pagination?

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.


how to update magento core from magentoconnect

Posted on February 22nd, 2013 | Posted by admin

1)  Check version release notes:

Check the version release notes from magento site. May be there is some special instructions for coming versions…

2) Backup your files

Backup all files manually or from linux shell. Before backup try to remove all cache files

3) Backup your database

mysqldump -u username -h localhost -ppassword database > my_database_name.sql

4) Disable cache from admin.

Magento – how to count all products with php – Magento product collection model?

Posted on February 9th, 2013 | Posted by admin

Magento – how to count all products with php – Magento product collection model?

You wonder how many products you have in your store and want to count them trough PHP code? It’s easy, add following code to test.php (create in root folder):

  1. require_once ’app/Mage.php’; Mage::run();
  2. echo Mage::getResourceModel(‘catalog/product_collection’)->count(); // count all products
  3. echo Mage::getResourceModel(‘catalog/product_collection’)->addCategoryFilter(Mage::getModel(‘catalog/category’)->load(113))->count();
Page 3 of 22«12345»1020...Last »