WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. alpesh1988
    Member
    Posted 10 months 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.

    http://wordpress.org/plugins/woocommerce/

Reply

You must log in to post.

About this Plugin

About this Topic