Blog articles tagged with magento

Configuring and compiling Nginx and PHP-FPM on Ubuntu for Magento, Part 2

12.18.2009 05:17PM by Evan Johnson

This is the second part of my little guide to get Magento running on Nginx with PHP-FPM and APC. Check out Part 1 here and Part 3 here.

In this part, we compile PHP-FPM and get it working with the APC "Accelerator" cache for Nginx. The first step is to compile PHP-FPM. Some of this is taken almost verbatim from the FPM readme:

# aptitude install -y...

Read the full article...

Comment

Configuring and compiling Nginx and PHP-FPM on Ubuntu for Magento, Part 1

12.14.2009 07:08PM by Evan Johnson

So, Magento is a huge piece of modular and extensible PHP code. Each request takes a lot of CPU cycles and memory to kick out a Magento page. This means it is slow. The performance of Magento is a frequent complaint, and rightfully so: consumers won't wait around all day for an ecommerce store to load. They will bail out and try another store if a page doesn't load in...

Read the full article...

Comment

Book Review: Magento Beginner's Guide

11.26.2009 07:05PM by Evan Johnson

I was recently approached by [packt] Publishing to do a review of their book, the Magento Beginner’s Guide (by William Rice). I’ve been working with Magento a lot over the past year and blog about it here from time to time, so they figured I would be good to review it. After setting up, modifying and maintaining four Magento stores in the last 10 months I don’t feel...

Read the full article...

Comment

Magento - Six Months In

08.12.2009 11:48PM by Evan Johnson

Yes, this basically amounts to a good old fashioned rant post. But there is a purpose behind it: to educate those thinking of using Magento to power their ecommerce store about potential concerns and pitfalls. Read on, and enjoy.

Magento is an ambitious, promising ecommerce platform.

Magento really is a neat piece of software. Varien has really outdone itself. It is one of the most feature rich ecommerce platforms out...

Read the full article...

Comment [1]

How to edit orders with Configurable Products in Magento

08.10.2009 05:35PM by Evan Johnson

Up to and including the current release of Magento (1.3.2.3), an admin cannot properly edit an order containing configurable products. Magento warns you of this when you click the “Edit” button, and if you proceed the order appears on the edit screen containing only the Simple and Virtual products. Configurable, Bundled, and other products are removed from the order.

I am finding this more and more with Magento: it is the...

Read the full article...

Comment [13]

Changing Magento Order, Invoice and Shipping Number

07.09.2009 03:23PM by Evan Johnson

A client needed to change the default order numbering scheme in Magento 1.3. There is no simple administrative backend setting to do this, however. The order, invoice, shipping and credit memo numbers are fixed – 9 digits long prefixed with a 1. The client wanted all of their order numbers in the form "AZ-xxxxx" – two fixed letters, a dash, and then 5 digits. So… how go about changing this?

Looking...

Read the full article...

Comment [1]

Magento: How to protect pages so only logged in users can view them

07.08.2009 09:03PM by Evan Johnson

There are times when you want all or part of your Magento online store to only be visible to customers who are logged in to the website. Once such example is a "wholesale" website where only approved wholesale users should be able to view products and checkout. This functionality is not built in to Magento, but it’s a just a few simple little code hacks away.

NOTE: On 8.25.09 I...

Read the full article...

Comment [41]

How to Integrate (Import) WordPress Content into Magento Blocks

04.26.2009 09:10PM by Evan Johnson

This is the technique I use to integrate WordPress content into Magento. This can be useful for bringing in posts related to a product, or having recent blog posts on the Magento home page… whatever you can dream up. No modules, plugins or extensions are needed for this technique – just a good grasp of PHP and the Magento and WordPress theming/templating systems. There are probably many...

Read the full article...

Comment [10]

Magento: How to list all the products in a single category in a sidebar block

03.23.2009 05:57PM by Evan Johnson

The website I’m currently developing wants to have all of the products in “CategoryX” displaying in the left sidebar on all pages. It’s a small category with their 5 core products, and they want to make sure no matter where the visitor is on the site, they are just a click away from viewing these products. The sidebar block only consists of a header with the Category name, and a...

Read the full article...

Comment [6]

How to Add Dynamic Content to Magento Static Blocks and Pages

03.03.2009 09:06PM by Evan Johnson

Magento provides an easy way to create blocks of static content which, with a little Layout-XML-Fu, can be added to any page in Magento. Even better, these blocks can be added to any category page with no programming at all. This is great if you want to have a banner image with monthly specials and deals, or if you want to add a header image or descriptive text to...

Read the full article...

Comment [13]