At this moment we’re working on 3 projects, all of them require a category list with products that are only configurable and the customer has to be able to choose the options from the configurable and add it directly to the cart without going to the product page. Step by Step How can we add […]
My experience has shown me that the default Magento search is really bad, it doesn’t matter if you’re using the Community version or the Enterprise one: search results are always bad, even if you don’t have too many products in your catalogue (less than 200). Here are some tips on how to improve the search: […]
Working with tier prices programmatically in Magento is somewhat tricky. I found a couple of annoying bugs or behaviors that really got me stuck. I’ll speak about that at the end of this post. Update: Our colleague Josh found how to solve this issue by rewriting a core module. Take a look at that solution in […]
Thanks for the recommendation, Fabrice. This was on the list already, though ;)Commented on Magento search not working properly, how to improve search results?.
It might be tricky if you want to create a multiselect product attribute in Magento 2. For that, it’s necessary to pass the correct backend model: if you don’t do it your attribute will be created but the values won’t be saved. Taking this Inchoo article as a basis, you just need to know the […]
[Edited] I’ve updated the article to do this in a better way Recently I had to do something I thought it was simple to do: add the category images to the navigation menu. However, Magento doesn’t use a template to draw the whole menu but a function that will retrieve all categories and generate the […]
Getting the “current product” in Magento 2 is trickier than it was in Magento 1. However, it is like that for a reason: Mage:: is a thing from the past, no more accessing to everything from everywhere (someone I know would say: “this is not logic at all”). That’s the reason why, in order to […]
Recently I wanted to remove a field from a form object. It was easy, we need to know 2 things: Fieldset name (‘main’ by default) Field name With this information we can just update the form object with: <?php $this->getForm()->removeField(‘password_fieldset’); ?>
Since the very first time I started working with collections in Magento I run into situations where I needed to filter a collection by an attribute whose value is not set yet (for example, when the attribute is of the type ‘yes/no’, values 0/1). If I wanted to filter by all the products with a […]
I have recently run into this Magento script who lists all the cronjobs on the site (coming from core, community or local). Easy to use and with a good result view!
During the past 5 years I have been working on eCommerce and always with Magento. Magento “1”. Magento 1 has become the natural option to recommend to anyone who wants to implement a secure, complete, extensible ecommerce site. I have learned a lot while developing on Magento, but also when discussing functional specifications with our […]
At my company we’ve been using tools like Munin to monitor the server. Munin is a great tool that shows all type of graphs of what’s going on in the server: Apache processes, Varnish memory, Database performance, Server load, Disk usage, Memcache performance… and a lot more. Basically, you can configure any service you have […]
The «Class “Mage” not found» issue has been recently a headache in most of our projects. I could say that there was a specific change eventually (either a package update, package installation, configuration change…) that make this error appear. The problem is not the error itself, the problem is that this error is not providing […]
I was lazy enough to look up on Google before checking my Magento database. I found nothing regarding where Custom Variables are stored in a Magento Database. And that’s normal. Custom Variables are stored in: core_variable core_variable_value