magento checkout require


 

app\design\frontend\base\default\template\persistent\checkout\onepage\billing.phtml


 去除class="required"

 

 

/app/code/local/core/mage/Customer/Model/Address/Abstract.php
/*      
postcode
*/

 

 

First name,last name remove require

/app/code/core/Mage/Customer/Model/Customer.php lines 666-672
 

 

select attribute_code,is_required  FROM eav_attribute where is_required = '1';

update eav_attribute set is_required=0 where attribute_code='postcode';
 

 

 

 

 

 

你可能感兴趣的:(require)