Currently browsing

MVC Developers Part 6 – Entity Attribute Value

In our last article we told you there were two types of models in Magento. Regular, or “simple” models, and entity attribute value (or EAV) model. We also told you this was a bit of a fib. Here is where we come clean.

The following is part of a longer series on Magento aimed at developers familiar with PHP MVC development. Although each article can be read stand alone, each article is based on concepts and code covered in previous articles. If you are confused, especially to catch up on the earlier work first.

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 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. cheap viagra online 3. To add like/share button …

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 …