Magento News
Date of Birth required for specific products
by loeffel (Posted Mon, 30 Jan 2012 15:09:44 GMT)
Hello
I am looking for a way to add the dob field to customer checkout for specific products.
I have already managed to do this – however I am facing some issues – here is my current setup:
1. Date of Birth was set to “optional” via backend.
2. File templatecustomerwidgetdob.phtml was edited so dob field will be required even if set to “optional” via backend.
3. File customeronepagebilling.phtml was edited to show dob field only if products with specific attribute are present in cart.
The problem with this setup is, that dob will be required for new customer registrations and for returning customers who want to edit their customer data – suddenly they will have to enter their date of birth. I was able to modify appcodelocalMageCustomerBlockWidgetDob.php to allow for a second dob template to be loaded on these two pages (customer/form/register.phtml and customer/form/edit.phtml) but for some reason, date of births entered during checkout would now no longer be displayed in the backend.
Has anybody managed to do what I am trying here or has asomebody an idea, how I could proceed? Thank you!
http://magento-forum.co.uk/viewtopic.php?f=5&t=997#p3235
Possibly Related Posts:
- Magento USPS Shipping Method, add option / force Insurance by pmuskoff http://t.co/JMbzme8o
- #freelance jobs: Magento USPS Shipping Method, add option / force Insurance by pmuskoff: We run a Mage… http://t.co/X5syN4Xc #projects
- Magento USPS Shipping Method, add option / force Insurance by pmuskoff: We run a Magento store … http://t.co/cjTFzhit #freelance #work
- Magento USPS Shipping Method, add option / force Insurance by pmuskoff: We run a Magento store in… http://t.co/K4NdKyWs #magento #jobs
- We run a Magento store in which everything is shipped via USPS. We ship valuable products which need to be insu… http://t.co/JmW0PeR0
RSS Feed