Page 1 2 3 4 5 6

Show Paragraph Marks in Magento Admin Email Comment Notificatin Emails

Some people like to have detailed email comments to their Magento customers.  Unfortunately, these email comment notifications and the comment history inside of the Magento history panel, do not show paragraphs or new lines.  This will show you how to fix this comment new line bug.

I am using a mac here, but a similar process can be done on a PC.

mkdir -p app/code/local/Mage/Adminhtml/controllers/Sales/
cp app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php app/code/local/Mage/Adminhtml/controllers/Sales/OrderController.php

What we are doing there is copying




so that our changes don't get overwritten in updates.

Now some code edits.  I am using Mavento 1.7 in this example, however this should work on other versions of magento.

Look around line 276 of the newly created file for:

$comment = trim(strip_tags($data['comment']));

We want to change that to:

$comment = nl2br(trim(strip_tags($data['comment'])));

That will make your paragraph marks show up as desired.

I hope this got your paragraphs inside of your Magento comments working, if so, please +1 and or like this post!

Read The Full Article

2013 Brooklyn Autumn Skills Competition

We are excited for the 2013 basic skills competition.  Check out the announcement for details!

Read The Full Article

Where are you on Google Plus Pages?

Inevitably, you're faced with the reality that your business location is now on Google Plus, as a Google Plus Page. In fact, if you look up your business on Google right now, you will find out just what your page looks like.  So, let's take a look at what this means for you:

Read The Full Article

Remembering 9/11

We all know what happened on that fateful day.

September 11, 2001.

For many of us, 9/11 was a day that we are incapable of forgetting, though some may wish they could. It was a day of death, fear, and heartache and, 11, years later, it still can't be blotted out from our minds. From that day forward, the lives of the American people changed. Terrorism became a legitimate threat, and fear and brokenness reigned. The two buildings that make up the World Trade Center, one of the United States' most famous landmarks, the Pentagon, a symbol of the US Military, and the Capitol Building itself were all targeted for destruction by terrorists on four seperate airplanes. The attempt proved to be successful except for one plane; instead of destroying the Capitol Building, the plane landed in an open field, both saving the lives of the people in the Capitol Building, but ending the lives of the people on the plane. The shock of this catastrophic event flooded through the entire United States, and September 11th would never be looked at the same way again.

Read The Full Article
Page 1 2 3 4 5 6
We're on Facebook!

“ Since the re-design, my site has nearly doubled in traffic, and business has boomed! Why didn’t I do this earlier? ”

“ It is just so easy to keep my site up to date! This is unbelievable!”