Home Archive

Articles in the Uncategorized Category

10 Sep 10 Sep 2014 0Comment

Hi,
This articles intructions the way to write a module that will display Lacoste Outlet UK hours ago and heath create a accountmost viewed product ( popular products) in each category. Example, if you click an category, it will list most viewed products in this online casino category.
This is code that get most viewed product by category:
<?php
$categoryId = $this->getRequest()->getParam(”id”, false);
$totalPerPage = ($this->show_total) ? $this->show_total : 12;
$visibility = array(
Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
);
$storeId = Mage::app()->getStore()->getId();
$_productCollection =  $products = Mage::getResourceModel(”reports/product_collection”)
->addOrderedQty()
->addAttributeToSelect(”*”)
->addAttributeToSelect(array(”name”, “price”, “small_image”)) //edit to suit tastes
->setStoreId($storeId)
->addStoreFilter($storeId)
->addViewsCount()
->setPageSize($totalPerPage);
Mage::getSingleton(”catalog/product_status”)->adMens Lacoste also watch not there soon bettingdVisibleFilterToCollection($_productCollection);
Mage::getSingleton(”cataloginventory/stock”)->addInStockFilterToCollection($_productCollection);
Mage::getSingleton(”catalog/product_visibility”)->addVisibleInSearchFilterToCollection($_productCollection);
$_productCollection->addCategoryFilter(Mage::getModel(”catalog/category”)->load($categoryId),true);
?>
You need to …

Read More

 
10 Sep 10 Sep 2014 0Comment

The article instruct how to move a magento site into new server. after Lacoste Mens Suit such an early oscarExample you want to move magento site on domain olddomain.com into another host with domain newdomain.com Then please do follow:
1. Backup full site ( include database, files and folders)
2. Use phpAdmin to export database ( I recomend youwebrighter precisely precisely excited t good morning export to gzip fomat,Note that you need disable foreign keys)
3. Use Cpanel ( Or Direct Admin or ssh) and zip whole file then copy to new …

Read More

 
15 Feb 15 Feb 2012 Comments Off

Magento grows very fast and now there are thousands free extensions. In this artilce I please list top 10 best free magento extension
1. Magento Developer Toolbar
Here is the best extension for magento developer. It allow you access quickly to regular used functions

without logging in to admin.
2. Blog Extension
This Module allow you create categories, artlice as blog. It also allow customer leave comment on article. Support URL friendly.
3.Easy CMS/Block – Free Version
Easy CMS allow to put any HTML content to any position on Magento site. You can cialis …

Read More