Archive: magento

 

The first development release of Magento 2 has a few areas worthy of note for developers of the coming changes to Magento. Magento 2 now requires PHP 5.3 Zend is still version 1.11.1. Magento 2 now implements templates on a per modules basis. So now all the different bits of the theme are separated into [...]



 

Magento version two is coming. For those of us who are eagerly awaiting the next major version of the most popular and powerful open source e-commerce platform, you can now see, track and download the code on GitHub. Not had chance to have an in depth look as yet but we expect great things! https://github.com/magento/magento2 [...]



 

If you are thinking of adding a confirmation of e-mail address to the front-end registration pages of your store e.g the Checkout billing page or the customer account registration, the little snippets below could be of use to you For the Checkout billing page 1. Locate the magento checkout billing page (billing.phtml) which can be [...]



 

If you have created a new product type and need to enable it to be included with configurable products you need to let Magento know that it should allow your product type to work with configurable products. To do this open your config xml and add the following xml. PLAIN TEXT XML: <config>     [...]



 

I recently needed magento to be able to load a product, and if that product was part of a configurable product detect this and return the parent product if that existed. Looking around google I came across this code snippet and thought it should work PLAIN TEXT PHP: $_product = Mage::getModel('catalog/product')->load($productId); $parentIdArray = $_product->loadParentProductIds()   [...]



 

Just found out this bug that occurs when you try to call an overridden Magento magic methods within the override method. I created a custom attribute for a product with code "price_grid_csv" and I needed to still call the actual Magento magic method; see the below code PLAIN TEXT PHP: public function getPriceGridCsv(){ $price_csv=parent::getPriceGridCsv(); if(condition) [...]



 

I have been making a mwnu system for magento that would allow a client to add extra links to CMS page to top menu through a static block. One of the requirements was when you clicked the link the menu should display as active. To do this I extended the Category_Navigation Block so it would [...]



 

Magento is a typical PHP Model View Architecture (MVC) system which routes its URLs in ways not particularly different from other PHP MVC Frameworks like codeigniter, symphony etc. But the difference it has with other MVC architecture is that most of its routing directives or configurations are XML based i.e. found in one XML file [...]



 

I've recently been asked to customise the front page of a magento store. The client wanted the ability to specify a different set of top links depending on whether the customer was logged in or not, and they wanted to be able to changes these links from the admin section. They also wanted the logged [...]



 

Magento have released the latest version of Magento CE (community edition), 1.6.2.0 Major interest to most of our clients will be the refactoring of the indexing process to prevent duplicate indexing processes. Along with that is a nice list of fixes. If you are looking to upgrade your Magento store to the latest version simply [...]