Magento

How to move Magento website to another domain in the same server

There’s a few things you need to do once you have your staging domain name all set up. 1. Copy the database. Export it to a file, create a staging database, Open exported database file with any well know editor(like notepad++) and replace current domain “currentdomain.com” to new domain “newdomain.com” and import this dump file. …

How to move Magento website to another domain in the same server Read More »

How to set Google Analytics in Magento Store

Google Analytics is a free Google service which allows the webmasters and web site administrators to monitor their web sites’ traffic and conversion ratio. Magento supports two types of tracking: 1-Page View Tracking: Lists the origin from which your web store visitors linked to your store. 2-E-commerce Tracking: Lists the customers that make purchases and …

How to set Google Analytics in Magento Store Read More »

How to get skin url,media url,base url and store url in magento

Get Magento URL paths of skin, Media, JS, Base and Store URL in CMS pages. There are different ways to retrieve mentioned URL paths depending on where section you’re editing. To Retrieve URL path in STATIC BLOCK To get SKIN URL {{skin url=’images/sampleimage.jpg ‘}} To get Media URL {{media url=’/sampleimage.jpg’}} To get Store URL {{store …

How to get skin url,media url,base url and store url in magento Read More »

How to change Magento contacts page into a 1 column layout

The layout for the page is controlled by app/design/frontend/default/YOURTEMPLATE/layout/contacts.xml Find the code around line 37 <reference name=”root”> <action method=”setTemplate”><template>page/2columns-left.phtml</template></action> <action method=”setHeaderTitle” translate=”title” module=”contacts”><title>Contact Us</title>

How to display new products on home page in Magento

Go to “CMS – Manage Pages” and select “Home Page” from the list of pages. Use this code snippet into your design page layout on your front page: <reference name=”content”> <block type=”catalog/product_new” name=”home.catalog.product.new” alias=”product_new” template=”catalog/product/new.phtml” after=”cms_page”> <action method=”addPriceBlockType”><type>bundle</type><block>bundle/catalog_product_price</block> <template>bundle/catalog/product/price.phtml</template></action></block> </reference> Note : You must have some new products in your catalogue for anything to show …

How to display new products on home page in Magento Read More »