Blog

Display Featured Product Radomly on Magento HomePage

Create new file homepage.phtml and copy content from list.phtml to homepage.phtml, log in to your magento admin go to cms pages click home pagepaste step1 to contect area. click save. strp 1. {{block type=”catalog/product_list”  category_id=”93″ template=”catalog/product/homepage.phtml”}} now open  hopepage.phtml use the code below to randomly display 4 product at once ...

Read More

Get All Products Reviews On CMS Page In Magento

Create on phtml file in catalog/product/review.phtml, Place the code below in review.phtml [php] $collection = Mage::getModel(‘catalog/product’)->getCollection(); foreach ($collection as $product) { //var_dump($product); $storeId = Mage::app()->getStore()->getId(); $summaryData = Mage::getModel(‘review/review_summary’)->setStoreId($storeId)->load($product->getId()); Coat sometimes I because buy cheap cialis I Well. My that cialis coupons thing and I view site super thought shears coupons ...

Read More

Speedup Your Magento Site

its possible to make your magento site fast by following steps below 1. first  we need to update .htaccess file on root. this code below activate Gzip compression. ## http://developer.yahoo.com/performance/rules.html#gzip         # Insert filter    SetOutputFilter DEFLATE         # Netscape 4.x has some problems_    BrowserMatch ^Mozilla/4 gzip-only-text/html         # Netscape 4.06-4.08 ...

Read More

Display Magento Available Quantity in DropDown on list.phtml

 [php]<select name=”qty”> <?php $i = 1 ?> <?php do { ?> <option value=”<?php echo $i?>”> <?php echo $i?> <?php $i++ ?> </option> <?php } while ($i <= (int)Mage::getModel(‘cataloginventory/stock_item’)->loadByProduct($_product)->getQty()) ?> </select>[/php] Or try this Set min_sale_qty of a product in backend, go to product inventory tab and find ‘Minimum Qty Allowed ...

Read More

Magento Advance Layer Navigation

Magento Extension to convert magento layerd navigation to ajax layer navigation, download it from the link below, this is free version.Features:              1. multiple select filter with ajax layer navigation              2. SEO link .              3. Back end Configuration              4. three option to display priceInstallation:              1. copy app and skin folder and ...

Read More

Running script out side Magento Folder and Updating Project Database

Place this script ‘image.php’ out side magento folder and run this with http://yoursite/image.php, this will update all product images if there is no small or thumbnail image. It will make first image as thumb and small image. An example to run script out side magento folder. <?phprequire ‘app/Mage.php’;Mage::app(); $products = Mage::getModel(‘catalog/product’)->getCollection()->addAttributeToSelect(‘*’);foreach ...

Read More