hide Show on store (coupons)

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 2 reply threads
  • Author
    Posts
    • #52857
      Jose
      Participant

      Hi,

      I would like to hide, when someone add coupons, “Show on store” and her check box, because we don’t use sidebar in store pages, so can you tell me how ?

      Thanks in advance !

    • #52959
      WCFM Forum
      Member

      Hi,

      Use this code snippet for the purpose –

      add_action( 'end_wcfm_coupons_manage_form', function() {
        ?>
        <style>
        #wcfm-main-contentainer #show_on_store, #wcfm-main-contentainer .show_on_store {display:none!important;}
        </style>
        <?php
      });

      Thank You

    • #52993
      Jose
      Participant

      Hi,

      Resolved !! Work perfect !!

      Thanks so much

Viewing 2 reply threads
  • The topic ‘hide Show on store (coupons)’ is closed to new replies.