Currently browsing

MVC Developers Part 6 – Entity Attribute Value

In our last article we told you there were two types of models in Magento. Regular, or “simple” models, and entity attribute value (or EAV) model. We also told you this was a bit of a fib. Here is where we come clean.

The following is part of a longer series on Magento aimed at developers familiar with PHP MVC development. Although each article can be read stand alone, each article is based on concepts and code covered in previous articles. If you are confused, especially to catch up on the earlier work first.

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)

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 = …