Profile cover photo
Profile photo
Hồng Quang Cao
37 followers
37 followers
About
Posts

Post has attachment

Post has attachment
Add captcha to contact form for magento1 - NameSpace : MyPackage and Module: MyModule Module configuration location : app/etc/modules/MyPackage_MyModule.xml [crayon-5a937e989cafa814888912/] Create config file for this module location : app/code/local/MyPackage/MyModule/etc/config.xml [crayon-5a937e989cb04013363976/] Create a observer for that location: app/code/local/MyPackage/MyModule/Model/Observer.php [crayon-5a937e989cb09370411397/] Create a local.xml to your active theme inside layout folder. [crayon-5a937e989cb0f404469025/] Now copy contacts/form.phtml to mymodule/contacts/form.phtml, add [crayon-5a937e989cb18475013872/] Clear cache. Now Go to System -> Configuration [ ] The post Add captcha to contact form for magento1 appeared first on Magebay Support Portal.
Add a comment...

Post has attachment
How to fix error can’t login to Magento admin panel - You have installed Magento. It works well for a time. Then one day you can not login to the Magento board. Do not show an error or any other messages. There s a number of different issues that cause the errorless admin login behavior you re seeing, but they all go back to Magento not being able [ ] The post How to fix error can t login to Magento admin panel appeared first on Magebay Support Portal.
Add a comment...

Post has attachment
How to fix Magento can’t login to admin panel - You have installed Magento. It works well for a time. Then one day you can not login to the Magento board. Do not show an error or any other messages. There s a number of different issues that cause the errorless admin login behavior you re seeing, but they all go back to Magento not being able [ ] The post How to fix Magento can t login to admin panel appeared first on Magebay Support Portal.
Add a comment...

Post has attachment
How to translation text by csv file in magento2 - To add translation csv file in magento2, you just need to add a folder named: “i18n” inside your module’s folder, i.e. app/code/Magebay/TestModule/i18n Then create a csv file with name of language code. forexample: for english (United state) => en_US.csv french (canada)=>fr_CA.csv Inside csv file you just need to add words which you want to translate, [ ] The post How to translation text by csv file in magento2 appeared first on Magebay Support Portal.
Add a comment...

Post has attachment
How to enable or disable modules in magento 2 - You can always use CLI command for managing modules. Disable module: [crayon-5a8d1f78d4f13798522124/] Enable module: [crayon-5a8d1f78d4f20823434036/] And you can check status of all modules: [crayon-5a8d1f78d4f25611561583/] It is useful to build a habit of controlling your installation via bin/magento. Also it will help to avoid any new features introduced for module commands. Hope it helps ! The post How to enable or disable modules in magento 2 appeared first on Magebay Support Portal.
Add a comment...

Post has attachment
How to get selected shipping method in magento - Magento 1 : [crayon-5a792e9d8b96d123042304/] Magento 2 : You can do this by calling the \Magento\Checkout\Model\Session. Add it to your constructor and get it by using this code : [crayon-5a792e9d8b97a502494221/] Or you can get by Object Manager Instance by using this code : [crayon-5a792e9d8b97f332339925/] Thank for reading this post, Hope it helps. The post How to get selected shipping method in magento appeared first on Magebay Support Portal.
Add a comment...

Post has attachment

Post has attachment
How to change product price by code for magento - Magento 1 : The code for change price of product, you can put on controller, model, helper or any where [crayon-5a4472a09c692560862488/] Magento 2 : To change price of product you need to follow these functions: [crayon-5a4472a09c6a0449787799/] Thank for reading this post, Hope it helps. The post How to change product price by code for magento appeared first on Magebay Support Portal.
Add a comment...

Post has attachment
How to call static block any page in Magento 2 - If you want to call static block in cms page: [crayon-5a407003714f7490254158/] If you want to call in phtml file : [crayon-5a40700371509419678223/] Your xml file code should be : [crayon-5a4070037150d015265956/] The post How to call static block any page in Magento 2 appeared first on Magebay Support Portal.
Add a comment...
Wait while more posts are being loaded