Quote from misa on March 28, 2022, 01:55
I have latest woof version.
When create meta filter with select option and checkbox in turbo mode i have problem with top panel.
I tested this on my theme and storefront - the same behavior.
Select:
if i select some option for example door.
in top panel i have value of this option - like 1, not name - door.
Checkbox:
if i check checkbox - name apears in top panel, but if i wanna to delete this in top panel i have jquery error in console.
jQuery(".woof_remove_ppi").parent().on("click", function() {
event.preventDefault();
var a = jQuery(this).data("tax"),
b = jQuery(this).data("slug");
if ("price" != a) {
var c = woof_current_values[a];
c = c.split(","); --------------------------------------- TypeError: c.split is not a function. (In 'c.split(",")', 'c.split' is undefined)
when i remove it from side panel - is ok.
Best.
I have latest woof version.
When create meta filter with select option and checkbox in turbo mode i have problem with top panel.
I tested this on my theme and storefront - the same behavior.
Select:
if i select some option for example door.
in top panel i have value of this option - like 1, not name - door.
Checkbox:
if i check checkbox - name apears in top panel, but if i wanna to delete this in top panel i have jquery error in console.
jQuery(".woof_remove_ppi").parent().on("click", function() {
event.preventDefault();
var a = jQuery(this).data("tax"),
b = jQuery(this).data("slug");
if ("price" != a) {
var c = woof_current_values[a];
c = c.split(","); --------------------------------------- TypeError: c.split is not a function. (In 'c.split(",")', 'c.split' is undefined)
when i remove it from side panel - is ok.
Best.