Currently browsing

Magento Email Template: How to send file as attachment with Magento email-template

yhs-fullyhosted_003magento send email with attachmentmagento troubleshootingYou can send a any file as attachment with any Magento e-mail template. For this.please buy generic cialis add the following code with your mail program. $fileContents = file_get_contents(Mage::getBaseDir(‘export’).’/’.$filename); /*(Here put the filename with full path of file, which have to be send)*/ $attachment = …

How to add email template and send email in Magento

magento send email templatemagento send emailmagento email attachmentMage::getModel(core/email_template)magento email templatesMage::getModel(\core/email_template\)Well, this is quite a popular task for every Magento site. And you can found many tutorials for this which show you how to create and add Magento email template via XML file. However I’m sure that many people are wondering …

Magento Model Code Generation

This is a quick one for advanced users, is a recent problem, I answered StackOverflow inspired.

Magento as well as about an abstract system as one of the advantages is the opportunity it presents metaprogramming. Drops action in a controller (which is the following code, you can define an internal function in PHP)

Sending Magento SMTP email problem with Google App mail

magento smtpWe just upgraded from Magento 1.3 to Magento 1.4.2, switched hosting providers, and suddenly our transactional emails were not being sent out. We were using the SMTP Pro extension by Ashley Schroeder (highly recommended, btw). The problem turned out to be with our hosting provider, Nexcess. They were blocking …

Magento Reference Name List in layout XML for Template Designer

magento reference namereference name magentomagento layout reference namemagento reference namesmagento reference listmagento layout reference name change templateMagento use layout XML  to define page layout structure and indicate how blocks included and access to predefined position called reference area (either place holder). You can modify the layout by editing specific XML …