I am implementing a functionality where each product have different input field in frontend where user can input value as per their requirement. It has multi step form in frontend, second step have radio button selection and then add to cart.

Problem: I created custom option for each product but it doesn't have name attribute. name is needed as second option option loaded on the bases of first step input fields. I am stuck here.

Please help on this.

Thanks in advance

  • Do you mean you wan to set label before options? Commented Apr 19 at 6:21
  • No @DhirenVasoya i want name dom element in input field <input type="text" name = "width" id= "option[24]"> Commented Apr 20 at 10:55
  • Why you want to give name to that one? Commented Apr 22 at 4:11
  • Hi @DhirenVasoya on the basis of name i need some customisation on product detail thats why Commented Apr 24 at 5:33


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.