Programmatically change store config to avoid rewrites in Magento Here’s a nice strategy to achieve a desired functionality in Magento while completely avoiding class rewrites - programmatically changing the store configuration via observers prior to core … #magento
Load customer by custom attribute in Magento Here is an example of slightly more advanced approach of how to load customer in Magento - load customer by attribute value - be it some default attribute or a custom one. Generally the approach … #magento #snippet
Load customer by email in Magento Another example of how to load customer in Magento - this time - by customer email. Previously we looked at how to load customer by ID in Magento, now we will do the same, but using the customer … #magento #snippet
Load customer by ID in Magento Here is a quick example of how to load customer by its ID in Magento. It is a standard load method that is used across all Magento models. Be sure - you will see this very often! Get customer by … #magento #snippet
Get current store ID in Magento This here is a really short example of how to retrieve current store ID in Magento. Additionally to that, an example of getting current store object and some of its data. Let’s roll! Get … #magento #snippet
Fix for long shown launch screen on Meteor app In one recent project I came across an issue of app’s launch screen being shown for quite a long time. To be exact - 6 seconds. Each and every time the app was started. Looking into the … #misc
Small collection of useful SASS mixins I happen to use these little SASS mixins quite often, but did not have Gist created yet. So I decided to create a small collection for quick copy and easy lookup next time I need them. So, … #misc #snippet