Adding radio custom taxonomy makes 'Link variations' button stop working
Hello, I implemented custom taxonomy as radio button by two ways.
1. Using plugin – http://wordpress.org/plugins/radio-buttons-for-taxonomies/
2. Using article – http://wp.tutsplus.com/tutorials/creative-coding/how-to-use-radio-buttons-with-taxonomies/
After implementing first way, I found that ‘Link variations’ button under ‘Products -> Product -> Product Data -> Variations’. It gives JS error saying ‘Uncaught TypeError: Cannot read property ‘top’ of undefined’.
I was able to solve this error by changing line in ‘woocommerce/assets/js/admin/write-panels.min.js’ file.
Original Line : var r=t.find(“:checkbox”).position().top
Modified Line : var r=t.find(“:input”).position().top
It seems plugin issue so kindly request you to take a prompt action. Let me know if i am wrong somewhere.
- The topic ‘Adding radio custom taxonomy makes 'Link variations' button stop working’ is closed to new replies.