Magento Performance Optimization with Zend Server Webinar
Thursday, July 16th, 2009Optimizing Magento Performance with Zend Server
from Magento.
Optimizing Magento Performance with Zend Server
from Magento.
The Latest Official Magento User Guide
Chapter 1: Introducing Magento
What is Magento
Magento is a new professional open-source eCommerce solution offering unprecedented flexibility and control. With Magento, never feel trapped in your eCommerce solution again.
Since it is open-source, Magento‘s code is available free for download. Just go to www.magentocommerce.com/download to download your copy today. In this guide [...]
This kind problem usually happen after change host and can’t save product. its show:
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`/catalog_product_
website`, CONSTRAINT `FK_CATALOG_PRODUCT_WEBSITE_WEBSITE` FOREIGN KEY (`website_id`) REFERENCES `core_website` (`website_id`) ON DELETE CASCADE ON UPDATE CASCADE)
You could try follow query to find out some incorrect product:
[...]
Magento Modules
Modules are the core of Magento. Every action on the site, frontend or backend,
goes through a module. Modules act as containers for one or more of the following:
settings, database schemas, rendering objects, utility helpers, data models, or
action controllers. A module can be made of all six of these things, or just one.
Modules are defined [...]
Exploring Magento
Magento’s administrative interface gives you control over all the standard features of
your shopping cart site. Looking at this backend interface can shed some light on
what features Magento has to offer. Login to the backend with the admin account
which you setup during the installation and you will see something.
Figure 3.1
Magento provides standard functionality that you [...]
Developing for Magento
Prep Your Environment
Make sure you have themost up-to-date version ofMagento downloaded.
Start by downloading the latest release of Magento from
http://magentocommerce.com/.
LAMP/WAMP Platform
If you are on theWindows platformthe easiest way to install PHP, Apache andMySQL
is with the XAMPP family of packages from http://apachefriends.org. Install the
XAMPP-lite package anywhere on your drive and run the setup.bat file. There [...]
Who Can Use This Use Guide?
Developers
This book should serve as a thorough introduction for developers to the structure
of Magento, as well as provide you with enough examples that you can take any of
your coding ideas to fruition. Developers will learn how to write custom modules
for Magento for redistribution or for simply deploying on a corporate [...]
When you use Magento connector upgrade or install any extensions there usually meet Magento Connect Files Permission Problem.Many hosting like VPS don’t support this confunction.
You need use the SSH Type the following commands:
find . -type d -exec chmod 777 {} \;
find . -type f -exec chmod 644 {} \;
That’s it. Now you’ll need to [...]
Magento Storefront Show Instock Products Only
Define product mould:$_productC = Mage::getResourceModel(’reports/product_collection’);
John code: $_productC->joinField(’inventory_in_stock’, ‘cataloginventory/stock_item’,’is_in_stock’, ‘product_id=entity_id’, ‘{{table}}.is_in_stock=1?);
Example:
$storeId = Mage::app()->getStore()->getId();
$category = Mage::registry(’current_category’);
$_productC = Mage::getResourceModel(’reports/product_collection’)
->addViewsCount()
->addAttributeToSelect(’*’)
->setStoreId($storeId)
->addStoreFilter($storeId)
->addCategoryFilter($category)
->setPageSize(12)
->setCurPage(1);
Mage::getSingleton(’catalog/product_status’)->addVisibleFilterToCollection($_productC);
Mage::getSingleton(’catalog/product_visibility’)->addVisibleInCatalogFilterToCollection($_productC);
$_productC->joinField(’inventory_in_stock’, ‘cataloginventory/stock_item’,’is_in_stock’, ‘product_id=entity_id’, ‘{{table}}.is_in_stock=1?);
$this->setProductCollection($_productC);
Magento Alipay, Ctopay Payment gateway Extension download available
Contact us for details.