I have a magento website that is going to be used solely for free digital downloads. I want people to register to keep track of who is taking the software but I only really want them to give their name, email, basic geo location, and their phone number. Their address ,zip ect. I do not need. Is there an easy way I can remove the required field jquery call from the onepage checkout?
Thanks
Best Answer
Override method in class:Mage_Customer_Helper_Address::getAttributeValidationClass($attributeCode) to something like:
After that extend app/design/frontend/rwd/default/template/persistent/checkout/onepage/billing.phtml app/design/frontend/rwd/default/template/persistent/checkout/onepage/shipping.phtml
templates in your own custom theme and remove the required * and for fields like postcode remove the call to $this->helper('customer/address')->getAttributeValidationClass('postcode') in the html for these fields.