0

I need to add custom field when cash on delivery is selected it should be placed right below the COD radio button.

This field have to be saved with the order.

I tried with some articles But I cant get the logic to place them on the place.

Kindly advice me on this, We have onepage checkout.

With this links I can add custom fields on the payment form but Cant achieve my requirement.

https://devdocs.magento.com/guides/v2.0/howdoi/checkout/checkout_new_field.html

https://ranasohel.me/2015/11/28/how-to-add-custom-field-to-shipping-address-form-in-magento-2-onepage-checkout/ enter image description here

  • is this custom file related with code like instruction or it is just a custom checkout field – Amit Bera Oct 4 '18 at 14:03
  • are you looking to add it below radio button? – Dhiren Vasoya Oct 4 '18 at 14:22
  • Its a customer checkout field, This field will be used my the merchant to have some verification of account when COD is applied. This field show for both logged in and guest user. For logged in user the field must contain the value if its been provided on the previous sale. – fernandus Oct 4 '18 at 14:45
  • Yes I need it below Radio button. – fernandus Oct 4 '18 at 14:46
  • I am new to Magento so I am not aware of the table it should be stored and the block I should work with, How to handle this the flow to work. – fernandus Oct 5 '18 at 5:49

Your Answer

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

Browse other questions tagged or ask your own question.