Magento Themes and Magento Extensions

HOW TO CREATE AND UPDATE MAGENTO CMS BLOCKS AND PAGES VIA INSTALL/UPGRADE SCRIPT

Share
Posted on December 17th, 2014 | Posted by admin

When we are having different environments(stagig, uat, live etc) and want to sync all cms pages and blocks in all environemnts, It is not a good idea to manully update each and every CMS blocks/Pages. Magento’s data install/upgrade script can be used for this purpose which will run on all environments immediately after the deployment and flush the cache storage. The cms data install/upgrade script can be created in any local module, but I would recommend to create a new module in local code pool with name “Namespace_CMS”(here I have used the namespace as “Egits”) to track the changes done on each install/upgrade. Follow below steps to get your CMS install/updates quickly on all environment without much manual effort.
1. Create your module configuration in app/code/local/Egits/Cms/etc/config.xml
codesource

0.1.0

Egits_Cms_Model

Egits_Cms
Mage_Eav_Model_Entity_Setup

How to enable Search Engine Friendly URLs in Magento

Share
Posted on December 15th, 2014 | Posted by admin

To enable Search Engine Friendly URLs in Magento, you have to log in to the Magento administration area and click on the Configuration button. Under the System navigation menu, switch to Web page from the sub-navigation panel on the left.

When the page loads, you will see blue lines which represent closed options tablets. Click on the Search Engines Optimization tab and turn on the Use Web Server Rewrites (mark as Yes). Click on the Save Config button and your Magento SEF URLs will be enabled.

How to fix Fatal error: Call to a member function getStoreLabel() in price.phtml

Share
Posted on December 12th, 2014 | Posted by admin

Play with Magento 1.8 CE and some one may get this fatal error:

1
Fatal error: Call to a member function getStoreLabel() on a non-object in /app/design/frontend/.../.../template/catalog/product/price.phtml

This is not happen with Magento 1.7 CE! We are not sure if it is Magento’s bug but a “quick and dirty” fix may help you.

Solution

Step 1:

Open file /app/design/frontend/<PACKAGE>/<THEME>/template/catalog/product/price.phtml to edit.

Milan – Responsive Multipurpose Magento Theme

Share
Posted on December 10th, 2014 | Posted by admin

Luxurious, exquisite and outstanding are what you will think of our new theme, Milan. This is another our Responsive Multipurpose Magento Theme for your luxurious theme collection. Mainly designed for online watch stores, luxury jewelry and accessories store…

Responsive Multipurpose Magento Theme

Creating sitemap in Magento

Share
Posted on December 9th, 2014 | Posted by admin

1. How to create Google sitemap in Magento by myself ?

Sitemap for most people is understandable and all of us have heard of it, nevertheless, it is worth to speak in few words about its meaning. Well, sitemap is nothing else than one of the easiest sitemap diretectors as well as aims to create special points which will make the user follow them and in the effect of this action filter unnecessary information as to get to the desired source. Basic sitemap function are few XML files, introducing URL links list which contains all information as like last update and its frequency. Considering that, browsers become intelligent devices which easily function at any Internet websites. It is not rare to hear Google Sitemap term but the scheme for XML map protocole is not combined only with Google. Hence, it may be used with different places, but it comes of Google Webmaster Tools and Yahoo! Site Explorer.

2. How to create sitemap ? Step-by-step.

The very first thing that has to be done is to create sitemap file in Magento as this contains basic element which informs Magento platform about the sitemap name and location. Following, it is necessary to log in the administration panel and search for Cataloque -> Google Mapsite and then check if the source file has been saved and if it’s already active. For example, we are interested with creating sitemap for URL:http://www.yourstore.com/sitemap/sitemap.xml