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....
Latest posts
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
Add Admin menu not sucess issue
Add menu in config.xml but not display in admin menu problem in <adminhtml> <menu> <webfitter_cexport> <title>Custom Export</title> <sort_order>15</sort_order> <children> <export> <title>Export Product</title> <sort_order>1</sort_order> <action>CexportAdmin/export/index</action> </export> </children> </webfitter_cexport> </menu> </adminhtml> ==> you must define <menu> <webfitter_cexport> not !!!!!=> <menu> <admin> <children>...
vbox resize the disk
VBoxManage clonehd "/Users/xiaomingwang/Documents/tmp/box-disk1.vmdk" "/Users/xiaomingwang/Documents/tmp/box-disk1.vdi" --format vdi vboxmanage modifyhd /Users/xiaomingwang/Documents/tmp/box-disk1.vdi --resize 51200 VBoxManage clonehd "/Users/xiaomingwang/Documents/tmp/box-disk1.vdi" "/Users/xiaomingwang/Documents/tmp/box-disk1.vmdk" --format vmdk
Magento2- How To Create Product Custom Attribute From Installer In Custom Module
https://webkul.com/blog/magento2-how-to-create-product-custom-attribute-from-installer-in-custom-module/
Msql change product visibility value
SELECT * FROM eav_attribute WHERE attribute_code LIKE 'visibility' // get id the EAV attribute 102 select * from catalog_product_entity_int as cpei where attribute_id = 102 and entity_id in (select entity_id from `catalog_product_entity` where `type_id`= 'simple') and value >1 update...