You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.
onoptionchange callback is setting variant to null and breaking the website when it encounters a variant which contains an option title that has a hidden in the variant title.
with liquid filter:
tried switching over to the non caching {{ product | json }} which is throwing a different error.
in the following code the name var is undefined:
if (product.options[i].name.toLowerCase() === option.name.toLowerCase()) {
optionArray[i] = option.value;
break;
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
with .js endpoint:
onoptionchange callback is setting variant to null and breaking the website when it encounters a variant which contains an option title that has a hidden in the variant title.
with liquid filter:
tried switching over to the non caching {{ product | json }} which is throwing a different error.
in the following code the name var is undefined:
if (product.options[i].name.toLowerCase() === option.name.toLowerCase()) {
optionArray[i] = option.value;
break;
}
The text was updated successfully, but these errors were encountered: