Magento 1.9.x SMTP Pro Office365 SSL TLS version problem

If you recently stopped receiving emails from your Magento 1.x shop and you are using an Office 365 SMTP account configured in Aschroder SMTP Pro extension, then you might find this in your logs: ==> var/log/system.log <== Warning: stream_socket_enable_crypto(): SSL: Success in /home/cbeauty/public_html/lib/Zend/Mail/Protocol/Smtp.php on line 206 ==> var/log/exception.log <==ERR (3): Zend_Mail_Protocol_Exception: Unable to connect via…

Magento Add JS to Sales Order Create

Add Custom Javascript to Sales Order Create This is a simple example of how you can add a JS file to the Sales Order Create page. Ofcourse, you can take it further and add css and other¬†custom content. For this, to follow best practices, you’ll have to create your own module if you don’t have…

Magento Calendar customizations

Copy this file: \lib\Varien\Data\Form\Element\Date.php to the local code pool: app/code/local/Varien\Data\Form\Element\Date.php Now you can customize the calendar setup. To add an option for disabling past dates, change getElementHtml() function as below: Then, in your blocks, when adding a date field, you can specify in the addField options array: If you want to change the align of…