I have a custom product option: date of birth. This date is usually the customers dob so I'd like it to be the default value of the custom option field.
In the date.phtml file getDateHtml function is called:
<?php echo $this->getDateHtml(); ?>
The function creates the date field. I know how to get dob of the logged in customer but how do I pass it on to the getDateHtml function?
It does check for preconfigured values but i can't set one in custom product options.