Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Color Swatches is not importing HEX via CSV import

$
0
0

Replies: 0

Hi,

I have created an algorithm to generate Color Swatches JSON and fill with the right properties, for example:

{'Color': {'name': 'Color', 'type': 'color', 'terms': {'VINTAGE WHITE': {'name': 'VINTAGE WHITE', 'color': '#FFFFFF', 'image': '', 'show_tooltip': '', 'tooltip_text': '', 'tooltip_image': '', 'image_size': ''}, 'WHITE REACTIVE': {'name': 'WHITE REACTIVE', 'color': '#FFFFFF', 'image': '', 'show_tooltip': '', 'tooltip_text': '', 'tooltip_image': '', 'image_size': ''}, 'DK BLUE PIGMNT': {'name': 'DK BLUE PIGMNT', 'color': '#5E748B', 'image': '', 'show_tooltip': '', 'tooltip_text': '', 'tooltip_image': '', 'image_size': ''}, 'GREY PIGMENT': {'name': 'GREY PIGMENT', 'color': '#B8B7B8', 'image': '', 'show_tooltip': '', 'tooltip_text': '', 'tooltip_image': '', 'image_size': ''}, 'SMOKE GREY': {'name': 'SMOKE GREY', 'color': '#3E3637', 'image': '', 'show_tooltip': '', 'tooltip_text': '', 'tooltip_image': '', 'image_size': ''}}}}

But when importing the CSV, all the HEX CODE simply disappear, filling my attribuites with no color/hex code.

Is that a known bug? What I might be doing wrong?


Viewing all articles
Browse latest Browse all 59525

Trending Articles