Saturday, 26 April 2014

Magento : Disable 'Merchant Email Receipt'

After order has been placed, if customers are getting an email with subject : ‘Merchant Email Receipt’ having  following  content

**Please DO NOT REPLY to this message. E-mail support@authorize.net if you have any questions.

========= SECURITY STATEMENT ==========
It is not recommended that you ship product(s) or otherwise grant services relying solely upon this e-mail receipt.

========= GENERAL INFORMATION =========

Merchant : XXXXXXXXXXXX (1356037)
Date/Time : 21-Apr-2014 13:43:26 PDT

========= ORDER INFORMATION =========
Invoice : none
Description : Test transaction for ValidateCustomerPaymentProfile.
Amount : 0.01 (USD)
Payment Method : MasterCard
Type : Authorization Only

etc....

and you don’t want to send these type of emails to your customers?

If yes, then here is the solution.

Go to Magento Admin panel -> System -> Configuration -> Sales -> Payment Methods -> Authorize.net -> Email Customer

Set to no and save the configuration.


It worked for me. Hopefully, it will work for others as well.


Thanks!!!!!!!!!!!!! Enjoy Programming :)

Sunday, 20 April 2014

Magento : Admin login not working in Chrome

Workaround #1 : Before Installation

Use 127.0.0.1 when you set up magento in localhost. I prefer this one because no need to make any changes in code.

Workaround #2 : After Installation

1. Go to app\code\core\Mage\Core\Model\Session\Abstract\Varien.php file

2. Go to line number 85 and replace

// session cookie params
$cookieParams = array(
            'lifetime' => $cookie->getLifetime(),
            'path'     => $cookie->getPath(),
            'domain'   => $cookie->getConfigDomain(),
            'secure'   => $cookie->isSecure(),
            'httponly' => $cookie->getHttponly()
);


code snippet with

// session cookie params
$cookieParams = array(
            'lifetime' => $cookie->getLifetime(),
            'path'     => $cookie->getPath()

);

Clear browser cache and try again. Hopefully it will work for you as well.

Thanks!!!!!!!! Enjoy Programming :)


Sunday, 6 April 2014

Magento AW Followupemail extension : Show multiple products in email template.


As I discussed in my previous post, due to well-written documentation it was very easy to integrate AW Followupemail extension. I implemented the basic functionality using newsletter templates and it is working very fine. But, there was a confusion in Product Review follow-up email, in case there will be having more than one products in cart. I mean to say I have to loop through the cart items. Let’s do it.

1) Go to Admin Section -> Newsletter->Newsletter Templates

2) Create a Newsletter template with name ‘AW Product Feedback’ and copy following code in Template Content section.

<h1>Dear {{var customer_name}}!</h1>

<p> You have bought these products on {{var order.updated_at|formatDateTime:F j, Y}}</p>

<p>The order contains the following items:</p>

<table border="1" cellspacing="1" cellpadding="5" width="100%">
    <tbody>
        <tr>
            <th>No</th> <th>Product</th> <th>Image</th> <th>Leave a Review</th>
        </tr>
        {{foreach var="$order.getAllVisibleItems()" template="nsltr:AW Review Product Row"}}       
    </tbody>
</table>

<p>Thanks !</p>
<p><a href="{{store url=""}}">{{store url=""}}</a></p>

3) Create another Newsletter template with name ‘AW Review Product Row’ and copy following code in Template Content section.

<tr>
                 
                 <td>{{var row_item_row_number}}</td>
                 
                  <td><a href="{{store url="catalog/product/view" 
                 id="$row_item.product.id"}}">{{var  row_item.name}}</a></td>
                  
                  <td align="center"><img src="{{thumbnail size="75" 
                 source="row_item.product"}}"/></td>
                  
                   <td align="center"><a href="{{store url="review/product/list" 
                  id="$row_item.product.id"}}">Leave a Review</a></td>

</tr>

That’s it and in follow-up email it will show all the products which were there in the ordered cart. While implementing this please keep in mind following points as well.

Important :
1) Newsletter Templates must be of ‘text’ type not ‘html’ type.

2) In first template we have mentioned following line : template="nsltr:AW Review Product Row"

nsltr : means template will be of newsletter type.
 AW Review Product Row : is name of the other template.

If you need any other help regarding this topic please feel free to comment.


Thanks!!!!!!!! Enjoy Programming :)


Saturday, 5 April 2014

Magento : AW Followupemail extension


In e-commerce world, due to lot of competition, it has become compulsory to interact with your customers on regular basis. Follow Up Email is a powerful auto-responder and customer relationship tool that helps to keep your site in the customer's mind always. 

For example you want to send an automated email to customer :

1) For 10% discount on his/her birthday.
2) Product reviews after order is complete.
3) Send an offer in case of abandoned cart.
4) Delay in shipping due to bad weather etc…

You can read more about this extension from here.




Recently, I have integrated this extension in one of my project. Due to well written documentation it has become very easy to implement it and would like to recommend it as well.


Thanks!!!!!!!!!! Enjoy Programming :)

Gmail: Download blocked file

Hi, today we are going to learn, how to download blocked file in gmail. Sometimes you see following message in gmail: and you can...