If you have a dual monitor setup you might decide to undock some of your Netbeans windows, for example for running XDebug sessions or PHPUnit testing. However you will find that by default, Netbeans sets the transparency of these windows to unreadable levels when they are not active. This really defeats the object and is [...]
Archive: magento
Posts Tagged ‘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() [...]
If you are a PHP developer looking for a job in the Bradford area then please do get in touch with Edmonds Commerce. We are a team of PHP developers who focus on e-commerce based on open source packages such as Magento, osCommerce, Prestashop, OpenCart and others. We also do a fair bit of WordPress, [...]
If you use Netbeans then you have no doubt seen the red wavy underline that pops under lines that have errors. Unfortunatley if your errors relate to punctuation, eg concatenation full stops, then the red wavy line can actually obscure these making finding and fixing the error tricky. An nice alternative is to set Netbeans [...]
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 [...]