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

Questions about emails sent by Magento in general

1 vote

How to send transactional email programatically?

If you look at default Magento confirmation email send function Mage_Newsletter_Model_Subscriber::sendConfirmationRequestEmail You will see that they have used $this, object of newsletter/subscriber model … array('subscriber'=>$this) ); You need to pass object of newsletter/subscriber to your custom email send function to make {{var subscriber.getConfirmationLink()}} work. …
Jaimin Sutariya's user avatar
5 votes
Accepted

Need validation with comma separated email address

You can add custom validation class like below in your js file Validation.add('validate-comma-separated-emails', 'Please enter a valid email address.', function(emaillist) { emaillist = emaillist.trim … Validation.get('validate-email').test(v)) { invalidEmails.push(v); } } if(invalidEmails.length){ return false; } return true; }); Now use validate-comma-separated-emails …
Jaimin Sutariya's user avatar
1 vote
Accepted

display product's custom image in custom email

You need to update your email template code from, <?php echo Mage::getModel('catalog/product')->load($this->getProductId(‌​))->getName() ?> <image src="<?php echo $this->getValue() ?>"> to <? …
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