• Resolved wpbetsy

    (@wpbetsy)


    If I want the customers can choose color by entering the code (like #ffffff) at color field, what should I choose at settings?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor sarkparanjothi

    (@sarkparanjothi)

    Yes you can do, please follow my instructions. Go to wc-fields-factory plugin folder -> includes/wcff-injector.php and the line number 472

    *(after this line preferredFormat: “‘.$colorformat.'”,’; )

    add the line `if( $field[“show_palette_only”] != “yes” ){
    $color_picker_script .= “showInput: true,”;
    }`

    See the result : wc fields factory color picker with text field color paster

    And also we add this feature in our next release with optional

    Thread Starter wpbetsy

    (@wpbetsy)

    There is 2 preferredFormat: “‘.$colorformat.’”,’; in the file. Which one is line number 472? The first one or 2nd one?

    I open with Wordpad, no line number.

    Plugin Contributor sarkparanjothi

    (@sarkparanjothi)

    Please trying to open notepad++ or any other php ide

    Thread Starter wpbetsy

    (@wpbetsy)

    Notepad is just the same. No line number.

    I did a search in the file and 2 results for “‘.$colorformat.’” Could you please tell whether I should edit the first appeared “‘.$colorformat.’” or the 2nd?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘color field’ is closed to new replies.