We are going to assume that you have a local extension working under app/code/local/Offset101/Helpertest, so, we will proceed adding our h..
On a Magento project, the easiest way to send an email with an attachment, is using the Zend library (provided by Magento).
- To do so,..
In some cases, people adds his PO Box number to the shipping or billing address. To Make a restriction on that, you need to add the follow..
Magento manage two differents values per custom variable: HTML and PLAIN, those, are filled like the example below:
Then, you can get t..
- Select from table
- Select from table (with left join)
- Insert or update duplicated
Those are many code snippets that could be helpful for you on shell scripts, standalone scripts, or in different situations of your market..
In some cases, you would need to create different kind of tasks or processes, regardless the Magento standard flow.
That is when you wi..
Magento provides by default a set of emails templates that you can reach and use as a transactional email on Backend > System > Transactio..
In some cases, you would need to add some custom functionality inside Magento flow, for those ones, Magento provide several events where y..
If you want to add your own block, you’ll need to add a Magento module, so first of all, we need to create an extension with the following..