hi there,
We have a variable product with different variations and we do not manually assign images to each variation. Normally from woocommerce, it uses the parent product image if there is not specific image to the variation. Currently is not working and on the console we see this error message:
productImagesGallery.min.js?ver=8.1.2:1 Uncaught TypeError: Cannot read properties of null (reading 'getAttribute')
at productImagesGallery.min.js?ver=8.1.2:1:3656
at NodeList.forEach (<anonymous>)
at productImagesGallery.min.js?ver=8.1.2:1:3581
at NodeList.forEach (<anonymous>)
at woodmartThemeModule.productImagesGallery (productImagesGallery.min.js?ver=8.1.2:1:470)
at HTMLDocument.<anonymous> (productImagesGallery.min.js?ver=8.1.2:1:88)
at HTMLDocument.dispatch (jquery.min.js?ver=3.7.1:2:40035)
at v.handle (jquery.min.js?ver=3.7.1:2:38006)
at Object.trigger (jquery.min.js?ver=3.7.1:2:70124)
at HTMLDocument.<anonymous> (jquery.min.js?ver=3.7.1:2:70726)
Do you have any idea how to fix it?
Thanks