Magento
It’s one of the most used e-commerce solutions out there today. Here’s my 2 cents about it.
Magento ‘customers who viewed this also viewed’-query
Ever had the clients’ wish to have a ‘customers who viewed this also viewed’-functionality in your webshop? You might have noticed that this is not a default feature in Magento. And if you (like me) would like to keep your extension count as low as possible, the smallest solution is often preferred. And the smallest read further ...Magento different caching on different PHP versions
Today I tested some different configurations for Magento to see if I could boost the performance. One major aspect of this is which caching to use (internal, memcached, APC or OpCode) in combination with different PHP versions (5.3, 5.4 and 5.5). The differences in these tests are big, but is the fastest solution also the best read further ...Get attribute option value in Magento by ID
I had this case where I needed to get the attribute option value in Magento where I only had the ID of the option and the code of the attribute in question. After some Googling it was finally this article which showed my the solution. However, it could be even simpler: That’s it! Please read further ...Put the star rating element of a product in Magento – anywhere!
I was looking for a solution to put the star rating element of a product in Magento on any given location. As most of you know, you can simply display the star rating element of a product (you know, the one with the five stars on a row) on a template like a product detail read further ...How to get all products with a specific custom option in Magento
Today I had the task to fetch all products from my product collection in Magento which had a specific custom option. After some trial and error, I came up with the following and decided to share this with my audience: How to get all products with a custom option called ‘FooBar’: read further ...How to calculate prices for bundled products in Magento
Ok, so here is my situation: I have a bundled product in Magento, who’s sub-products can be selected with checkboxes. Now, this bundled product also has 2 custom options that change the price by percentage. Now, the default behavior of Magento is as follows: But in my situation, I had to calculate the custom options of my read further ...Dump your Magento configuration to a single XML file.
Sometimes you want to be able to look at the raw configuration of Magento during runtime. It would be nice to log this as a XML file. This little code snippet does just that: It dumps your current configuration to a single XML-file in your log-folder: read further ...Using SCSS to reduce Magento templating time
When creating Magento sites you often run into repeating (and boring) tasks like styling the shopping cart, the checkout progress, the login area of the user, etc… These pages are required yes, but they require a lot of CSS to be styled properly. Using a skeleton template or a boilerplate helps, but often you still read further ...Bulk import coupon codes in Magento
When migrating from another shop or when you have a client who hands you a list of coupon codes, you want to be able to bulk import coupon codes in Magento. Now, there are some existing solutions out there, and I stumbled into this one from Marius Strajeru. This script does generate bulk coupon codes, but read further ...« Previous 1 … 4 5 6