Tutorial

Zend Framework Custom Dojo (Dijit) Helpers

Submitted by morf on Sat, 12/26/2009 - 12:00am

Implementing custom Dojo or Dijit into the Zend Framework View Helper is pretty simple. Lately i need this feature for Menu and MenuItem Dijits. I will provide you an example how to do it yourself for another Dijits. This example should work with other Dijits as well (i tried Dialog, DropDownButton, Menu, MenuBar, MenuItem, TitlePane, ToolBar, Tooltip Dialog, and Tree so far).

How to install Magento Commerce

Submitted by morf on Fri, 11/27/2009 - 12:00am

This Post is step by step generic tutorial how to install Magento Commerce.

First of all you should setup your Environment, but if you are installing Magento first time you should check if you fit Magento Commerce System Requirements. In short you need: any os running Apache, PHP, and MySQL. Required PHP modules are: PDO_MySQL, Simplexml, mcrypt, hash, GD, DOM, iconv, SOAP (optional).

How to import images into Magento Commerce

Submitted by morf on Sun, 09/27/2009 - 1:00am

If somebody told you, you can't import images to Magento, he was definitively liar. Magento Dataflow can import images, but the trick is you have to upload or copy images you want to import into [installation_directory]/media/import/* . Then export (System -> Profiles -> Export All Products -> Start profile) your products if you have any, download (copy) and edit the file. Now you can fill columns small_image, image, thumbnail with absolute path from media/import directory - for example /my_image.jpg (note the / on the start).

How to add Products on Magento Homepage

Submitted by morf on Mon, 09/07/2009 - 1:00am

Its pretty simple - you have to do edit your Home page. Go to your Magento admin, login, then go CMS - Manage Pages. Edit your Home page, and in the place you wanna have product list displayed put this row:

{{block type="catalog/product_list"
category_id="1"
template="catalog/product/list.phtml"}}

Where you have to change the category_id attribute to category id you want to display. You can find this id in heading, if you editing any category.

Magento Dataflow Speed

Submitted by morf on Mon, 06/22/2009 - 1:00am

Many people have suffered a lot by Magento Commerce Dataflow speed. I had serious problem by myself, when i tried to import 10,000 items into Magento database. I wrote my own import script, one of possible solutions to Magento Dataflow speed problem. But my achieved results were about 30-60 seconds per item. That's terrible.

Subscribe to Tutorial