Cant remove Vendors Store Page Sidebar.

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 4 reply threads
  • Author
    Posts
    • #113476
      info143
      Participant

      Hello,

      in store manager settings i unchecked the store sidebar checkbox but sidebar on Vendor Store Page is still visible.
      All PLugins are updated.

      Any ideas in this?

      Greetings

      Hanna

    • #114705

      Hello,

      Are you using elementor template for vendor store page? Or have you override vendor store template in your theme? Please check once.

      Thanks.

    • #115481
      info143
      Participant

      Hello,

      i do not use elementor template. I did not ovveride stote template. i just put the following snippets in my child functions.

      add_filter( ‘wcfmmp_is_allow_sold_by_logo’, ‘__return_false’ );

      add_filter( ‘wcfmmp_is_allow_archive_product_sold_by’, ‘__return_false’ );

      function wcfm_custom_2209_translate_text( $translated ) {
      $translated = str_ireplace( ‘Store Name’, ‘Your Artist Name’, $translated );
      return $translated;

      }
      add_filter(‘gettext’, ‘wcfm_custom_2209_translate_text’);
      add_filter(‘ngettext’, ‘wcfm_custom_2209_translate_text’);

      function wcfm_custom_0905_translate_text( $translated ) {
      $translated = str_ireplace( ‘Become a Vendor’, ‘Sell your art on T.’, $translated );
      return $translated;
      }
      add_filter(‘gettext’, ‘wcfm_custom_0905_translate_text’);
      add_filter(‘ngettext’, ‘wcfm_custom_0905_translate_text’);

      You have an idea how to remove default sidebar completly? Can i just remove the wcfmmp-view-store-sidebar php ?

      Thanks

      Hanna

    • #115911

      Hello,

      add_filter('wcfmmp_is_store_sidebar','__return_false');
      Try this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

    • #116000
      info143
      Participant

      Works perfect! Thank you!

Viewing 4 reply threads
  • You must be logged in to reply to this topic.