Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2443

denotes a question about the Magento e-mail templates

0 votes
1 answer
496 views

How to set default configuration values for each store view

I have a configuration field which I am using to store email template value. I am assigning default email template id using config.xml file. This works perfectly fine for defaut store view. Now, I hav …
Jaimin Sutariya's user avatar
4 votes

New order email missing product image {{layout handle="sales_email_order_items" order=$order}}

Try replacing your code, <img src="<?php echo Mage::getModel('catalog/product_media_config')->getMediaUrl($_product->getThumbnail()); ?>" width="135" height="135" alt="<?php echo $_item->getName() ? …
Jaimin Sutariya's user avatar
2 votes
0 answers
195 views

Add div background image in email template

I have created a custom email template and I want to add background image to one of its div element. I have added html file in my email with below content. <div class="container" width="100%" s …
Jaimin Sutariya's user avatar
2 votes
Accepted

Remove shipping information from Email template if method is "freeshipping"

You can achieve this by below code. Create an observer function which will check if order has "Free Shipping" in your case "Shop pick up" method selected. <events> <sales_order_place_before> …
Jaimin Sutariya's user avatar
2 votes

Thumbnail in the new order e-mails

Try replacing your code, <img src="<?php echo Mage::getModel('catalog/product_media_config')->getMediaUrl($_product->getThumbnail()); ?>" width="135" height="135" alt="<?php echo $_item->getName() ? …
Jaimin Sutariya's user avatar
3 votes
Accepted

Magento 1.9 check if order got shipment

Try using below code to check if the order has shipped. <?php $hasShipment = $this->getOrder()->getShipmentsCollection()->count(); if($hasShipment){ .... // Do your stuff } ?>
Jaimin Sutariya's user avatar