Magento Static Blocks

There’s more than one way to skin a hippo and adding CMS static blocks in Magento is no exception. In case you’re unfamiliar with CMS static blocks, they are powerful little buggers in Magento’s admin that allows the site’s administrator to add and control chunks of HTML that can be displayed throughout the site. They’re […]

Magento Static Blocks Read More »

Magento: get skin url, get media url, get base url, get store url

Magento Mage Core, Admin Static Blocks, or Phtml edits are usually includes getting url path such images, javascript, base url, media and store url. 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

Magento: get skin url, get media url, get base url, get store url Read More »

Magento Category Navigation or Vertical category menu in sidebar

Here are the steps to retrive the category in the sidenbar Step1. PHP Code to retrieve top level categories for navigation and save it at the following location. in short this file contain code related to catalog Navigation Model which retrieves top level categories and show it in proper manner Magento\app\design\frontend\base\default\template\catalog\navigation\categorymenu.phtml Step2. Change the page.xml

Magento Category Navigation or Vertical category menu in sidebar Read More »

Deleting Order and Customer Data with SQL

During the development and testing process we create different customer and different order in Magento , after the site goes live we need to delete that . So  here are the simple ways to do it with the query below Customer detail can be deleted from the magento admin > Manage Customer. http://www.magentocommerce.com/wiki/import-export_and_data_manipulation/deleting_order_and_customer_data_with_sql

Deleting Order and Customer Data with SQL Read More »

Related products on product page in Magento

Move related products from default sidebar location into main product page in Magento. 1. Open catalog.xml, found in app/design/frontend/default/YOURTEMPLATEFOLDER/layout/ 2. In catalog.xml find the catalog_product_view section, around line 205. In the section, remove or comment out: and replace with: 3. Now in your catalog/product/view.phtml you can print out the related products using To edit the

Related products on product page in Magento Read More »