Magento: Display category & sub-category with thumbnail
The above code list the subcategories that is inside category id 11. For to get the thumbnail of category we need to upload image while creating the categories
The above code list the subcategories that is inside category id 11. For to get the thumbnail of category we need to upload image while creating the categories
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 »
We can directly put it in the header section as we normal does but sometime it maynot work in case of admin. We can include following code in function.php and for case of css add the following code Source:http://wordpress.org/support/topic/how-can-i-add-custom-javascript-and-stylesheet-in-headerphp-file-1
While moving the localhost magento site to live hosting , everytime i get Internal server error (500) error . To Overcome this error we need to follow certain steps. ->set permission 755 for magento folder and index.php ->Sometimes this can be related to the .htaccess rewritebase rule , while working on localhost host its may …
Magento Internal server error (500) in live server Read More »
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 »
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
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 …
Steps to add static block into the header area of Magento Site Steps for adding block in Admin Panel Steps for changing in page.xml file Steps for changing in header.phtml file Source : http://bmehla.wordpress.com/2011/05/04/magento-steps-to-add-static-block-into-the-header-area-of-magento-site/
To activate and deactivate widgets in Magento like the Newsletter option, it’s pretty easy. You just go to System/Configuration/Advanced and select ‘disable’ next to the ‘Mage_Newsletter’ item. But what if you want to disable something that has no apparent widget control? I couldn’t find a widget that controlled the ‘Shop By’ option in the left …
How to remove the ‘Shop By’ box from the left column in Magento Read More »
Following is the code to get the login & logout link. Here are more variable’s that may you need to get the customer data on the frontend. Source : www.adeelishfaq.com/blog/how-to-get-the-login-logout-url-in-magento/