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 4 years, 9 months ago by nmedia.
-
AuthorPosts
-
December 6, 2019 at 7:01 pm #14567AdamParticipant
$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 4 years, 9 months ago by Adam. Reason: Added some info to post
December 7, 2019 at 1:09 pm #14576nmediaKeymasterHi 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 #14578AdamParticipantI 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 4 years, 9 months ago by Adam.
December 8, 2019 at 11:59 am #14653nmediaKeymasterHi,
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 #14664AdamParticipantI 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 #14665AdamParticipantYou already have a login to my site as you did some custom work for me already.
December 10, 2019 at 11:57 am #14668nmediaKeymasterAdam,
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 #14669AdamParticipantThe 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 #14672AdamParticipantI 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 #14678nmediaKeymasterOk, but your URL is not working. Showing some server error.
December 11, 2019 at 1:36 pm #14683AdamParticipantIt is working for me. Must’ve been a temporary issue
December 12, 2019 at 1:16 pm #14704nmediaKeymasterWell, you see the label showing as tooltip with our current script:
-
AuthorPosts
- You must be logged in to reply to this topic.