Redirecting Magento Customers After Log Out.

Posted on December 31st, 2012 | Posted by admin

Redirecting Magento Customers After Log Out.

Our client NexxtShow uses a separate site for their CMS needs. They reasonably expect customers to be redirected to that site after clicking the ‘logout’ button.

Implementing their request turned out to be extremely simple. Read on if you’d like to replicate our process.

In your theme find the file template/customer/ logout.phtml,  and find the bit which looks like this:

How to get ordered Items and their detail for an order ID in Magento?

Posted on December 29th, 2012 | Posted by admin

How to get ordered Items and their detail for an order ID in Magento?

I tried to wrote this code when I was working on a cron file for all orders. My client wants a cron file that get all orders information including all ordered item and their detail.

First, I searched on google but I didn’t found any exact solution then I tried below code:

By below code I got all orders on site:

how to add customer photo registration profile page in magento

Posted on December 27th, 2012 | Posted by admin

how to add customer photo in magento registration – profile page

I have to add 3 image upload box as per my client demand. First one was his photo , second one was his credit card front side scan copy and third one was credit card back side scan copy. He did it for his customer verification.
Now i will explain you how i fix it.
At first change the registration and edit form type to enctype=”multipart/form-data”
Add the following code in register.phtml to add photo field in database
$setup = new Mage_Eav_Model_Entity_Setup(‘core_setup’);
$attr2 = array (
‘position’ => 1,
‘is_required’=>0 /* 0 if you want it to be a required field, 1 if not. Also, if required, add this class to the occupation input box on register.phtml class=”required-entry input-text” */
$setup->addAttribute(’1′, ‘photo’, $attr2);


Posted on December 26th, 2012 | Posted by admin

Do you have clients who are reporting that their customers are unable to checkout, but you can’t find any problem with your client’s Magento checkout process? Are customers of your Magento site complaining that they have to re-enter their address because they can’t check out? We may have an answer for you!

Yesterday, we discovered the source of a particularly ugly issue that has been plaguing one of our clients.

For months, customers of this client’s Magento site have been complaining of problems checking out, but we’ve never been able to reproduce their issues. We found out yesterday that their was a gap in some of the customer data that had been imported into Magento when the site was first built. Some customers have customer accounts with saved addresses, but those addresses do not have phone numbers. This discovery came from a detailed email sent by a very kind customer talking about their problems.

Magento Product Description: Read More

Posted on December 25th, 2012 | Posted by admin

One feature that sometimes annoys me in Magento is that by default you have to enter two descriptions, and these are then split up on the page. What’s wrong with giving the user the choice to see all the information in one place you might ask, and I’d agree with you.

Because of this, I’m going to explain to you how to create a template which automatically shortens your ‘description’, and displays a ‘Read More’ link at the end. When the user clicks on this link, some lovely Prototype magic displays the rest of the description to you in exactly the same place, meaning that your user doesn’t have to bother scrolling all around the screen trying to find out about the product.

First, a little bit of setup. I’m not going to explain how to do this bit exactly, as it’s quite straightforward. First, you need to decide if you want to keep a ‘short description’ field – seeming as we’re really replacing this functionality. If you don’t, go into your Magento admin and set the ‘short description’ attribute to ‘Not Required’. This means you’ll never have to bother entering one again, you can simply ignore it.

Page 1 of 612345»...Last »