Send email from xampp localhost. Follow the easy steps Goto http://glob.com.au/sendmail/ , download latest sendmail package. Extract the zip file and copy the files into your \xampp\sendmail folder(Replace every file in the existing folder). Update the sendmail.ini file in sendmail folder with the following details, and make sure it is not commented(;). smtp_server=smtp.gmail.com smtp_port=25 error_logfile=error.log debug_logfile=debug.log auth_username=yourname@gmail.com auth_password=gmailpassword force_sender=yourname@gmail.com Here i have added gmail account for sending emails. Open xampp\php\php.ini file find sendmail_path and update its value to "\"C:\xampp\sendmail\sendmail.exe\" -t" . Now it will look like below sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t" Make sure it's not commented(;) Restart your apache server. Now you can send email from xampp localhost! enjoy :-)
We can easily modify product price after placing order in magento using the event sales_quote_add_item . We can see this hook registered in app/code/core/Mage/Sales/Model/Quote.php line:874. This is the event created by magento. Mage::dispatchEvent('sales_quote_add_item', array('quote_item' => $item)); We can access $item values using its registered event name sales_quote_add_item and we can modify the price with our logic.
If we have created a custom module using Magento Module creator means, it will not contain 'wysiwyg(tinyMCE)' editor feature. We can add the 'wysiwyg' editor in custom module within 2 steps.
Comments
Post a Comment