Magento

Magento 2 installing new php library via composer

Hi, I had to install php library phpoffice/phpexcel for reading and writing excel files with php. The easiest solution seemed to be to use composer. But running the command composer require phpoffice/phpexcel gave me an error: composer require phpoffice/phpexcel [Composer\Downloader\TransportException] Invalid credentials for ‘https://repo.magento.com/packages.json’, aborting. require [–dev] [–prefer-source] [–prefer-dist] [–no-plugins] [–no-progress] [–no-update] [–update-no-dev] [–update-with-dependencies] [-ignore-platform-reqs] Read More

Magento 1 redirect to home page after login

Hi, I had to do a simple redirect to home page after customer is logged in, instead of him going to customer account page. The way you do it is using an observer. Magento 1 has an event that fires after login is completed, and this is the event that we’d need. First change the Read More

Magento “Wrong tab configuration ….”

I made myself this problem today, and lost a half an hour trying to figure out what was wrong. So I decided to write a blog post about it, just so I don’t forget. I had to add new tab to order view in admin area of Magento. I did everything by the book, but Read More

Magento 1.9.1.0 and 500 Internal server error

HI, we recently begun working on a web shop whose owner wanted color swatch option for her store. We felt very lucky that Magento CE 1.9.1 came with that functionality. So we upgraded store from 1.9.0.1 to 1.9.1.0 But as usual, Magento upgrade didn’t go without problems. After the upgrading was finish, we coldn’t open Read More

Setting template for static blocks in Magento footer

Hi! Today I had a task to insert static blocks into footer area of Magento web page. Since there are some troubles with WYSIWYG editor and html code I opted to make it more secure for future editing so I wanted to give the static blocks their template. I’m guessing that you know how to Read More

AW Blog different layout for posts view

Hi, I had some trouble recently with Magento 1.7.0.2. and AW Blog. I couldn’t set different layout for blog posts view. My Blog listing needed to have 1-column layout and blog posts view 2columns-right layout. Naturally I resorted to normal solution – add this lines inside aw_blog.xml file, in blog_post_view section: // inside aw_blog.xml layout Read More

Magento upgrade theme trouble

Magento + Upgrade == Lots of trouble. Everyone who ever tried to upgrade their Magento store knows what I am talking about. Lots of (un)expected errors, troubles, headaches. Such was the case with our upgrade. Recently we had a client who had a shop set on Magento 1.3.2.3 and wanted to upgrade to the latest Read More