Title: Unsetting Super Widget?
Last modified: August 22, 2016

---

# Unsetting Super Widget?

 *  [Denis Žoljom](https://wordpress.org/support/users/dingo_d/)
 * (@dingo_d)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/unsetting-super-widget/)
 * Is it possible to unset the super widget? I’d like to be able to use the shop
   as a catalog, and I just need to remove the super widget that is managing the
   buy process, without it I have a cool catalog.
 * Is it possible to do? I tried unsetting it, but I’m getting a notice in it’s 
   place.
 * [https://wordpress.org/plugins/ithemes-exchange/](https://wordpress.org/plugins/ithemes-exchange/)

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

 *  Thread Starter [Denis Žoljom](https://wordpress.org/support/users/dingo_d/)
 * (@dingo_d)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/unsetting-super-widget/#post-5488801)
 * Anybody?
 *  Plugin Author [Elise Alley](https://wordpress.org/support/users/ecalley/)
 * (@ecalley)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/unsetting-super-widget/#post-5488816)
 * Hi dingo_bastard,
 * There is a filter in Exchange that you can use to disable the Buy Now button.
   The filter is it_exchange_disable_buy_now. It returns false by default. You may
   add the following single line of code to your functions.php file to disable it
   everywhere:
 * `add_filter( 'it_exchange_disable_buy_now', '__return_true' );`
 * To remove per product, you’ll have to create a custom callback function and add
   your filter with 2 parameters. The second parameter will be the product object:
 * `function yourcallback( $is_disabled, $product ) { ... } add_filter( 'it_exchange_disable_buy_now','
   yourcallback', 10, 2 );`
 * Let us know if you have any additional questions.
 * Thanks,
 * Elise
 *  Thread Starter [Denis Žoljom](https://wordpress.org/support/users/dingo_d/)
 * (@dingo_d)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/unsetting-super-widget/#post-5488853)
 * Hi! Thank you for answering 🙂
 * I created a function, and just set the superwidget to null. That way it’s set,
   but it’s not showing, so you cannot buy anything, and that’s exactly what I need(
   catalog) 🙂

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

The topic ‘Unsetting Super Widget?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ithemes-exchange_ecedef.svg)
 * [ExchangeWP: Simple WP Ecommerce](https://wordpress.org/plugins/ithemes-exchange/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ithemes-exchange/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ithemes-exchange/)
 * [Active Topics](https://wordpress.org/support/plugin/ithemes-exchange/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ithemes-exchange/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ithemes-exchange/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Denis Žoljom](https://wordpress.org/support/users/dingo_d/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/unsetting-super-widget/#post-5488853)
 * Status: not resolved