Currently browsing

Magento – Adding Custom Category Fields Attributes

How to add new custom category attribute in Magentomagento add category attributemagento add custom field to categoryYou know in Magento backend, you can add new product attribute easily which allow you to extend and add more product information. So here I will show you how to add new category attribute …

Magento Add Facebook Like/Share button to CMS page

magento facebook share button1. Add a meta tag in template/page/html/head.phtml. pay someone to write my paper <meta property=”og:site_name” content=”yoursite.com”/> 2. Create a Custom  Variable from System/Custom Variables, name it anything you like,  and paste the bellow code in the Custom Variable’s content area. http://www.rocketcontest.org/faqs.cfm http://www.rocketcontest.org/multimedia.cfm <div class=”fblike”> <fb:like href=”http://www.your-magento-store.com” layout=”standard” …

How to import products with custom options in Magento

magento import custom optionsmagento import products with custom optionsTo add this customization to your magento store first copy app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php to app/code/local/Mage/Catalog/Model/Convert/Adapter/Product.php. This will prevent upgrades from overwriting your changes. Next you need to add some code to “local” version of Product.php (code/local/Mage/Catalog/Model/Convert/Adapter/Product.php). The line numbers below correspond to version 1.3 …

Best Magento practice to get current Url of the page

magento get current urlmagento current urlget current url in magentoget current url magentoThe following code gives you the current url of the page you are:- $currentUrl = $this->helper(‘core/url’)->getCurrentUrl(); // Gives the base url of your magento installation $baseUrl = Mage::getBaseUrl(); //Gives the url of media directory inside your magento installation …