WPIntell

Source evidence

Encoding issue in dropdown.

Swatchly – Product Variation Swatches for WooCommerce · support · 2024-07-11T09:49:00+00:00

mixedsentiment
mediumseverity
0.84relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 11 rows with source links

36.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

7 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
mrsmurf resolved
I do not know in which version this problem started, but I got a call from a customer telling me that it was not possible to order product variations in my webshop that had non ascii chars in the version name. It turned out when the select dropdown is reconstructed with the DOMDocument class it messes up the variation name encoding. The fix for this issue if someone else has it is to edit includes/Frontend/Woo_Config.php and on line 248 change from $dom->loadHTML($old_html, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD); To $dom->loadHTML(mb_convert_encoding($old_html, ‘HTML-ENTITIES’, ‘UTF-8’), LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD); It would be nice if you would fix this issue in the next version you release. Hi @mrsmurf , Thank you very much for informing us about the issue and sharing a possible fix to get it resolved. It’s my pleasure to inform you that our team has already taken immediate action to fix the issue and released an update to the plugin. Could you please try the latest version? We’d greatly appreciate it if you could share your valuable thoughts on this 🙂 Wishing you a wonderful day ahead! Yes, the issue seems to be fixed with the latest version. Thanks for the update! We are glad to hear that the latest version has fixed the issue. If you need any further assistance, please don’t hesitate to reach out. Our support team is always here to help. Wishing you all the best!

Comments

3 shown
Tarek Aziz 2024-07-11T11:57:00+00:00

Hi @mrsmurf , Thank you very much for informing us about the issue and sharing a possible fix to get it resolved. It’s my pleasure to inform you that our team has already taken immediate action to fix the issue and released an update to the plugin. Could you please try the latest version? We’d greatly appreciate it if you could share your valuable thoughts on this 🙂 Wishing you a wonderful day ahead!

mrsmurf 2024-07-11T16:49:00+00:00

Yes, the issue seems to be fixed with the latest version.

Tarek Aziz 2024-07-14T04:36:00+00:00

Thanks for the update! We are glad to hear that the latest version has fixed the issue. If you need any further assistance, please don’t hesitate to reach out. Our support team is always here to help. Wishing you all the best!