Title: On/Off Button
Last modified: August 24, 2016

---

# On/Off Button

 *  Resolved [endervikin](https://wordpress.org/support/users/endervikin/)
 * (@endervikin)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/onoff-button-1/)
 * Your On/off button on the settings page was not working. It is/was a Javascript
   issue.
 * I disabled plugins to make it work. Funny, I think it was the woo commerce plugin
   that caused the conflict (Is that Ironic?).
 * I would suggest simplifying things and just make it a check box instead of using
   javascript.
 * This is just an FYI. It’s working fine now that I can turn it on.
 * [https://wordpress.org/plugins/woocommerce-catalog/](https://wordpress.org/plugins/woocommerce-catalog/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [Ana Pascual](https://wordpress.org/support/users/anoni/)
 * (@anoni)
 * [11 years ago](https://wordpress.org/support/topic/onoff-button-1/#post-5968786)
 * Hi, I’ve the same issue, on/off button is not working.
    Thanks,
 *  Plugin Author [pantrif](https://wordpress.org/support/users/pantrif/)
 * (@pantrif)
 * [11 years ago](https://wordpress.org/support/topic/onoff-button-1/#post-5968787)
 * Hello,
 * It might be some conflict with your current theme. I will remove this in next
   update.
    In order to fix this open include/php/settings.php and remove or comment
   this line: wp_enqueue_script( ‘wpt-admin-js’ );
 * Best Regards
 *  [Ana Pascual](https://wordpress.org/support/users/anoni/)
 * (@anoni)
 * [11 years ago](https://wordpress.org/support/topic/onoff-button-1/#post-5968788)
 * Hi,
    Yes, now it works but I’ve also had to deactivate one page checkout plugin.
   My theme is a genesis child theme called bloom. Thank you for you support, Ana
 *  [yelgnissm](https://wordpress.org/support/users/yelgnissm/)
 * (@yelgnissm)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-1/#post-5968823)
 * Hi pantrif — this is actually the problem I’m having.
    I’ll try to remove the
 * wp_enqueue_script( ‘wpt-admin-js’ );
 * and see if that works.
 * Thanks!
    Mark
 *  Plugin Author [pantrif](https://wordpress.org/support/users/pantrif/)
 * (@pantrif)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-1/#post-5968824)
 * Let me know if this solve your problem.
 *  [yelgnissm](https://wordpress.org/support/users/yelgnissm/)
 * (@yelgnissm)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-1/#post-5968825)
 * HI Not working, actually generates a php error.
    just won’t enable.
 * updated everything
    just won’t enable.
 *  [yelgnissm](https://wordpress.org/support/users/yelgnissm/)
 * (@yelgnissm)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-1/#post-5968826)
 * I’m using Kadence Virtue premium theme,
    everything else saves to the database
   properly, and all looks good until I try to enable. Nothing happens.
 * Great plugin, I’ll make a donation if we can get it working so you get something
   out of it.
 * Thanks!
    Mark
 *  Plugin Author [pantrif](https://wordpress.org/support/users/pantrif/)
 * (@pantrif)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-1/#post-5968827)
 * Hello yelgnissm, and thanks for being willing to support me.
 * Unfortunately this is not a bug of my plugin but i suppose it is some conflict
   with your current theme or with another plugin you have.
 * I tried to reproduce your issue with the latest version of woocommerce and wordpress
   but i had no luck. My suggestion is to isolate the problem by deactivating plugins
   one by one to see what cause that conflict. Also try a different theme to check
   if this is theme issue.
 *  [riklisci](https://wordpress.org/support/users/riklisci/)
 * (@riklisci)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/onoff-button-1/#post-5968828)
 * Hi, for me the same problem with both latest woocommerce and avada version. Avada
   has a Catalog custom option
 *  [riklisci](https://wordpress.org/support/users/riklisci/)
 * (@riklisci)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/onoff-button-1/#post-5968829)
 * For AVADA:
 * Removing wp_enqueue/register_script( ‘wpt-admin-js’ ); works, but “add to cart”
   and prices in cart/checkout is showed. Only remove the price in shop/single product
   pages.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘On/Off Button’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-catalog_b5a6ac.svg)
 * [Woocommerce Catalog](https://wordpress.org/plugins/woocommerce-catalog/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-catalog/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-catalog/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-catalog/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-catalog/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-catalog/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 10 replies
 * 5 participants
 * Last reply from: [riklisci](https://wordpress.org/support/users/riklisci/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/onoff-button-1/#post-5968829)
 * Status: resolved