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…