Magento 2 Training : Unit 8 – Lesson B Magento has got it’s own methods to manipulate cookies. So we will not use PHP functions. Create a cookie We will create a test controller to create our cookie : app/code/Maxime/Jobs/Controller/Cookie/Testaddcookie.php
Logs and Magento 2
Magento 2 Training : Unit 8 – Lesson A You can log what you want inside the Magento logs files. You can define the level of you message : debug, warning, critical ? Let’s see how to use it with
Create a Helper with Magento 2
Magento 2 Training : Unit 7 – Lesson C Why create a Helper ? Helper can be called everywhere you want if you inject it on the wanted class. You can have “generic” method in order to avoid duplicate code.
Create a cron job with Magento 2
Magento 2 Training : Unit 7 – Lesson B Crontab setup You have to setup the crontab for the magento user, the user which has got root privileges on your server. It is not named “root” and it belong to
Configuration creation on Magento 2 admin
Magento 2 Training : Unit 7 – Lesson A On the last practical, we created the department view page. We put the list of department’s job inside. We will create a configuration to display, or not, this list. Create custom
Practical : Create job view and department view pages
Magento 2 Training : Practical 2 Before begin this practical, you must read previous lessons of the training Specifications – Create view job page – The page title will contain job’s title and department’s name – Create view department page
Magento 2 Quizz Magestore : the answers !
Magestore published a quizz a few days ago about Magento 2. Questions inside are very interesting and it’s another way to learn about Magento functionalities. I will not explain the reasons of the answers because all of the points aborded
Bonus : Add custom module icon on Magento admin
Magento 2 Training : Unit 6 – Bonus Add custom font with Magento 2 To set our new SVG icon, you can create it yourself, or find one on the web. You can use Icomoon website to chose or import
Add translations on your Magento 2 module
Magento 2 Training : Unit 6 – Lesson D Change FO language You choose the store language during Magento installation. If you want to change it, you have to change the following configuration : Store > Settings > Configuration Choose
Add CSS on your Magento 2 module
Magento 2 Training : Unit 6 – Lesson C We will see how to add some CSS on our module. The CSS will be put inside the module folder, so it’s not a theme creation. I will explain the creation