WooCommerce - excelling eCommerce
Adding radio custom taxonomy makes 'Link variations' button stop working (1 post)

  1. alpesh1988
    Posted 2 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic