The weekly format did not last long, but a few posts on Magento StackExchange assembled in the last 5 weeks that might be worth some attention (and a new t-shirt):
Magento 2
- Retrieving a product image URL in a custom block seems to be non-trivial and can be done “wrong” in many ways: Getting full image URL of product in template
- How to define a custom search engine: Magento 2: what is the search_engine.xml? How to declare a new search engine? I plan a separate blog post on this topic soon.
- Interesting find: Setting the area to
adminhtml
does not automatically set theadmin
store: Magento 2 integration test in admin context - And an open question: Right way to implement getExtensionAttributes()
Magento 1
- In How to correctly select the first item from a filtered collection? I realize that you should not use
$collection->getData()
(and there’s the obligatory warning for a typical performance trap) - A short overview over all CMS and email template directives, or a try of it: Why do we have to use “store” for links in CMS like <a href=“{{store url=’home’}}”>home</a>
- A reminder, to prefer
theme.xml
overlocal.xml
: Is it possible to include a parent local.xml?
- What is the unit of the weigh attribute? What Is The Default Magento Weight Unit And How Can Change It