Home › Forums › WooCommerce Personalized Product Options Manager (PPOM) › Hex Code Showing in Color Pallets when you hover over them.
Tagged: color pallet
- This topic has 11 replies, 2 voices, and was last updated 5 years, 1 month ago by
nmedia.
-
AuthorPosts
-
December 6, 2019 at 7:01 pm #14567
Adam
Participant$html .= 'title="'.esc_attr($color_label).'" data-ppom-tooltip="ppom_tooltip"';
Had to change line 847 in the file: inc/nmInput.class.php to what I posted above to get it to actually FIX the Color Pallet labels to NOT display the HEX code.
It was originally:
$html .= 'title="'.esc_attr($option_label).'" data-ppom-tooltip="ppom_tooltip"';
-
This topic was modified 5 years, 2 months ago by
Adam. Reason: Added some info to post
December 7, 2019 at 1:09 pm #14576nmedia
KeymasterHi Adam,
in our latest changes, we have a separate setting for labels. You need to set label against each color and it will be display as tooltip.
December 7, 2019 at 1:41 pm #14578Adam
ParticipantI did have your latest update and the tool tips still showed the hex code – the label color I typed in. I have a beta version that you guys just sent me to fix the multi selected color palettes
-
This reply was modified 5 years, 2 months ago by
Adam.
December 8, 2019 at 11:59 am #14653nmedia
KeymasterHi,
please share your product page URL then. If color label is provided then color code should not be shown.December 9, 2019 at 6:12 pm #14664Adam
ParticipantI put the code back to:
$html .= 'title="'.esc_attr($option_label).'" data-ppom-tooltip="ppom_tooltip"';
and it now puts the Label back to #FFFFFF – WHITE #000000 – BLACK ….
I checked the Color options and Under option I have (#FFFFFF – WHITE), price is blank, LABEL is WHITE and UNIQUE OPTION ID is _ffffff___white
I tried changing option to JUST #FFFFFF and the Label to WHITE and all it pops up is #FFFFFF
If I change the nmInput.class.php BACK to:
$html .= 'title="'.esc_attr($color_label).'" data-ppom-tooltip="ppom_tooltip"';
everything works like it should.I put the code back to your original so you can see the problem.
December 9, 2019 at 6:13 pm #14665Adam
ParticipantYou already have a login to my site as you did some custom work for me already.
December 10, 2019 at 11:57 am #14668nmedia
KeymasterAdam,
if you have a customized solution then you can make these changes. We have fixed this issue in our core plugin as well.
December 10, 2019 at 1:13 pm #14669Adam
ParticipantThe customized solution doesn’t touch pallets at all. Is the core code updated yet so I can install it?
December 10, 2019 at 2:35 pm #14672Adam
ParticipantI just upgraded to the latest version 18.9 and the Hover labels on the color swatches still say the #HEX code and the Color.
December 11, 2019 at 1:24 pm #14678nmedia
KeymasterOk, but your URL is not working. Showing some server error.
December 11, 2019 at 1:36 pm #14683Adam
ParticipantIt is working for me. Must’ve been a temporary issue
December 12, 2019 at 1:16 pm #14704nmedia
KeymasterWell, you see the label showing as tooltip with our current script:
-
This topic was modified 5 years, 2 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.