2

I want to create an attribute only for billing address form, I was study the following tutorial

http://www.magentocommerce.com/wiki/5_-_modules_and_development/how_to_add_custom_field_in_billing_and_shipping_address_in_frontend_and_backend

In the above link I have successfully create an attribute name as jobtitle , when I try to remove jobtitle from shipping address form, the form are not save. Please anyone help me. How to solve this?? Please guide me.

  • did you check the following third party extension for checkout fields, it allows you to add, remove, resize custom feilds on billing, checkout pages and set the position as required, magentocommerce.com/magento-connect/… – user9467 Sep 24 '14 at 17:56
3

After looking at the tutorial my guess is that this attribute is set as required when creating the attribute in the setup script.

'is_required'       => 1,

In Magento an address is simply an address if it is a shipping or billing magento does not really care on the customer address level, so if this attribute is required you would need to add it to both the shipping and billing address forms.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.