Probably, when we are making our custom modules in Magento, we need to work with date and/or time fields in our admin forms. We recommend using Zend_Date for this purpose because their flexibility. In this post, you can find different functions based on the use of Zend_Date which have been of great help for us!
Magento – Read csv file and insert on a table using SQL sentences.
You may occasionally you may need to incorporate information from an external data source to Magento but this action can be hard job due to the volume of data. We present a solution that will make easier this purpose: import information from a .csv file directly into a Magento table using SQL sentences!
Continue reading
Functions to transform dates & times in php.
This group of php functions, will help you to transform date and time fields and therefore show the information as you prefer.
We hope this will help you!
Functions to manage strings in php.
In the following post, you can find a small library of functions that can be used for handling and processing of strings in php. It will be useful to create your php modules or extensions in Magento.
Enjoy!
Send emails from your Magento’s custom extensions.
In this post we show you how to send an email from Magento, using several functions that you can insert into your extensions. They could be very useful if for example, you want to send a notification when ending a process or when a particular action is executed.
We hope that it will be helpful!
Synchronize your customers from Magento.
One of the common problems that we often find ourselves when we have to manage an e-commerce, is the data synchronization between e-commerce and our management system.
In the following example, we will show how to synchronize the information from Magento’s customers table using a small module in PHP. In our example, our management application uses a MySQL database. We use Magento API (Version 1), to retrieve customer information stored in Magento.