Hello! Pretty urgent:
So if an attribute name is in Greek – like “Χρώμα” (Color) it is handled by WooCommerce in its encoded form in most places – including when it is used as the id of the <select> element. So the select will appear like this:
<select id=”pa_%cf%87%cf%81%cf%8e%ce%bc%ce%b1″>…… instead of <select id=”pa_χρώμα”>……
In the console, there is an error produced and the variation selection does not work – since two of the theme scripts try to perform this selection when a user attempts to select a color: $(‘select#’ + t) where t is the id value. The console error explains that the selector is invalid.
Suggestion: Passing the id (t variable), in the two(?) scripts where it is used, through CSS.escape like so:
$(‘select#’ + CSS.escape(t)). I believe it is a 100% valid solution.
Please try to keep this in a high priority since it’s obviously very crucial and prevents the new version of an eShop with lots of traffic from being launched. It affects single product page and product grids.
Thank you in advance!
Spiros
-
This topic was modified 2 months, 3 weeks ago by desklite1.