Hi Frédéric Fernandes,
Thank you for reaching out to us. Please kindly do a plugin compatibility check by doing these steps to identify the error :
=> Deactivate all of your additional plugins except WooCommerce, WooCommerce Variation Swatches Plugin & WooCommerce Variation Swatches Plugin PRO.
=> See if the problem persists. If the problem resolved, you can tell which plugin might be the culprit of this error by activating your additional plugins one by one.
Looking forward to hearing from you soon.
Thank you
Variation Swatches for WooCommerce extension JavaScript error – Pro
Frédéric Fernandes
The Variation Swatches for WooCommerce – Pro extension appears to have issues with running JavaScript scripts, preventing the variation display from working properly.
Example : https://districom.votre-webmaster-freelance.fr/produit/stand-parapluie-xtension-virage/
(<=> Test site / clone of the distri-com.fr site.)
Uncaught TypeError: this.product_variations.reduce is not a function
at e.value (frontend.min.js?ver=1.1.17:1)
at new e (frontend.min.js?ver=1.1.17:1)
at HTMLFormElement.<anonymous> (frontend.min.js?ver=1.1.17:1)
at Function.each (jquery.min.js?ver=3.5.1:2)
at s.fn.init.each (jquery.min.js?ver=3.5.1:2)
at s.fn.init.value [as WooVariationSwatches] (frontend.min.js?ver=1.1.17:1)
at HTMLFormElement.<anonymous> (frontend.min.js?ver=1.1.17:1)
at HTMLDocument.dispatch (jquery.min.js?ver=3.5.1:2)
at HTMLDocument.v.handle (jquery.min.js?ver=3.5.1:2)
at Object.trigger (jquery.min.js?ver=3.5.1:2)
After an attempt to deactivate this extension, classic WooCommerce operation is restored at the product page level, with the classic display of drop-down lists of attribute value choices.