enter image description hereFor the custom options of simple prodcusts i have to add one text field for value of color. How to add it.


2 Answers 2


I suggest that you use the SKU as the hex code and then sniff for it on the frontend, adding some template logic to the catalog/product/view/options.phtml instead of adding a new column and text option attribute.

This may not be considered the "correct" approach - there are certainly better ways to address this - but it may be the easiest in your case with the requirement of using options.

  • We have only require to add it as Details field.
    – Chandresh
    May 24, 2016 at 8:28

You can try this solution add-custom attributes custom options

  • Please always add all necessary informations to the post, in case if the link dies. The tutorial is ok, but it missed important informations.
    – Black
    Oct 23, 2018 at 10:46

Your Answer

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

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