7 01, 2016

Class / function overwrite and Plugins In Magento2

By |January 7th, 2016|Magento2|0 Comments

https://www.youtube.com/watch?v=NOZUjq_UWys Learn how to change core functionality in Magento2 in a proper way. Source: [ScreenCast] How To Change Core Functionality in Magento2 - MageClass

2 01, 2016

PHP Shorthand If / Else Examples

By |January 2nd, 2016|PHP|0 Comments

In looking at my Google Analytics statistics, I see a lot of visitors searching for PHP shorthand if/else (ternary) information. I've gone through my code library and picked out some examples of ternary operator usage.   Basic True / False Declaration $is_admin = ($user['permissions'] == 'admin' ? true : false); [...]