WPIntell

Source evidence

JS error if no gallery images added

Product Gallery Slider, Additional Variation Images for WooCommerce · support · 2025-02-04T10:35:00+00:00

mixedsentiment
mediumseverity
0.84relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

6 / 22 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

16 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Luke resolved
If no gallery images are added then a JS error occurs: Uncaught TypeError: can’t access property “slidesToShow”, l.options is undefined This then causes a problem if the product has a ‘Default Form Values’ set. With this situation, when adding the product to cart it shows the error ‘Please choose product options by visiting [product name]’ You have to manually change the variation option to be able to add it to cart instead of being able to add to cart with the default value set via the ‘Default Form Values’ option for the product. Disabling the plugin or adding at least one gallery image resolves the problem. Everything up to date on my site, tested with other plugins disabled and default theme etc. The page I need help with: [ log in to see the link] Thank you so much for bringing this issue to our attention! I’ve just released patch version 2.3.16, so please update the plugin. If you need any assistance, don’t hesitate to reach out! Thanks for the quick fix, this has resolved it.

Comments

2 shown
Niloy – Codeixer 2025-02-04T13:14:00+00:00

Thank you so much for bringing this issue to our attention! I’ve just released patch version 2.3.16, so please update the plugin. If you need any assistance, don’t hesitate to reach out!

Luke 2025-02-04T14:05:00+00:00

Thanks for the quick fix, this has resolved it.