Events and observers Overview Events Dispatching events Creating new events Event areas Observers Creating an observer Subscribing to events Recommended Reading Overview Working with events and observers is one of the main ways to extend Magento functionality. The events and...
Month: September 2016
Getting list of all Manufacturers and corresponding Manufacturer ID
$attribute = Mage::getModel('eav/config')->getAttribute('catalog_product', 'manufacturer'); foreach ( $attribute->getSource()->getAllOptions(true, true) as $option){ $attributeArray] = $option; } foreach($attributeArray as $key=>$val){ echo $val; }
Module Development Series – Magento Admin Module
n this tutorial, we are going to see all the different form fields we can use in admin forms. Magento has many different type of field available by default, so lets see the syntax of using each of these fields....
upgrad magento 2
composer require magento/product-community-edition 2.0.5 --no-update composer update rm -rf var/di var/generation php bin/magento cache:flush php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento indexer:reindex
php storm add auto comments
最后在帮助文档中找到的: http://www.jetbrains.com/phpstorm/help/creating-php-documentation-comments.html#d745077e199 英文烂的一塌糊涂,反正最后方法如下。 方法:setting-》FIle and Code Template-》Includes->PHP Function Doc Comment,然后在这里面设置就ok了,但是时间这些动态生成的,没有找到怎么弄,不支持像文件头里面的${DATE},如果有谁知道了,麻烦告知下。 在方法中引入,直接/**+enter键
CREATING A NEW REST WEB SERVICE IN MAGENTO 2
CREATING A NEW REST WEB SERVICE IN MAGENTO 2 July 24, 2015 · by alankent · in Magento · 62 Comments In this post I work through a working example of how to create a new REST web service in Magento...
Magento 2 API usage with examples
Magento 2 API usage with examples Magento 2 supports REST (Representational State Transfer) and SOAP (Simple Object Access Protocol), much like the old version of Magento we were used to. Official documentation is mostly based on raw curl request without...
REALMAGENTO: AUTOMATED TESTING IN MAGENTO 2
http://www.demacmedia.com/magento-commerce/automated-testing-in-magento-2/?utm_campaign=Technical+Economic+Buyer+Content&utm_source=hs_email&utm_medium=email&utm_content=33685381&_hsenc=p2ANqtz-_2Cg4xtSoppd5Zw7bNLJrqE-xDxOfxJwjD8xDUwhFmQFTjNxvfYN1_XL-xTW4n9LsvqQLVSycNIiJC13D2xpbJMQSJsA&_hsmi=33685539