Hi,
The Default Tooltip background color in variation swatches in the builder is gray, but in the front-end it is black.
Hi,
The Default Tooltip background color in variation swatches in the builder is gray, but in the front-end it is black.
Hi @Victor1999,
thank you for your report. I was able to replicate the issue locally and I’ve added it to our internal bug tracker.
Best regards,
Matej
Thank you @Matej,
is WIP now?
Yes, I just forgot to update the topic title. Thanks for reminding me!
Best regards,
Matej
I’m dealing with a different scenario — the 'bricks-tooltips'
JavaScript file is never enqueued in frontend. In assets.php
on line 313, there’s a condition:
strpos( $bricks_settings_string, 'data-balloon' ) !== false
However, the $bricks_settings_string
doesn’t contain any 'data-balloon'
attribute, so the script never gets enqueued in frontend. I think is a bug to check data-balloon
in frontend,
maybe check on \Bricks\Database::$global_settings[''woocommerceUseVariationSwatches'']
Hi @bricksonemore,
actually, you are right. I’ve tested again, this time when I’m logged out, and I can see that the tooltips are not even loaded. Can you test this two ways - if you are logged in and if you are logged out?
In my case, I can see the tooltip (although different colour), if I’m logged in, but there is no tooltip if I’m logged out.
If you can reproduce the then I’ll update the internal bug report.
Thanks and let me know.
Matej
Hi Matej,
Logged out - tooltips.css not enqueued in frontend.( not working )
Logged in as Subscriber/Customer - tooltips.css not enqueued in frontend.( not working )
Logged in as Admin - tooltips.css not enqueued in frontend, variation swatch tooltips works, but css from admin.min.css. ( working )
Yep, that’s what I observed as well. Thank you so much for confirming.
Best regards,
Matej