WCFM Vendor page

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 8 reply threads
  • Author
    Posts
    • #128218
      Eden Brownlee
      Participant

      Btw is there anyway I can change how the product is being displayed? And if I can add a new tab in the frontend… We do have a products that are physical and services, I want them to be separated in the tabs.. The product will have the grid layout and the services will be in list format, is this possible?

    • #128315

      Hello,

      Btw is there anyway I can change how the product is being displayed?
      >>Basically, in vendor store page product tab will display same as WooCommerce Shop page template. Whatever customize shop product display in shop page, it will reflect in your vendor’s store page.

      We do have a products that are physical and services,
      >>Can you let us know how you differentiate between physical product and services product n your site?

      You can find here how to add new tab – https://wordpress.org/support/topic/custom-tab-in-vendor-store-page/

      Thanks.

    • #129365
      Eden Brownlee
      Participant

      I have a category for physical and services products ­čÖé

    • #129366
      Eden Brownlee
      Participant

      And Btw how do I change the order of tabs in the vendor store? Ty

    • #129367
      Eden Brownlee
      Participant

      I am getting a 404 after adding a new tab… I have re-saved permalinks already.

      add_filter( ‘query_vars’, function( $vars ) {
      $vars[] = ‘services’;
      return $vars;
      }, 50 );

      add_filter( ‘wcfmmp_store_tabs’, function( $store_tabs, $store_id ) {
      $store_tabs[‘services’] = ‘Services’;
      return $store_tabs;
      }, 50, 2 );

      add_filter( ‘wcfmp_store_tabs_url’, function( $store_tab_url, $tab ) {
      if( $tab == ‘services’ ) {
      $store_tab_url .= ‘services’;
      }
      return $store_tab_url;
      }, 50, 2 );

      add_filter( ‘wcfmp_store_default_query_vars’, function( $query_var ) {
      global $WCFM, $WCFMmp;

      if ( get_query_var( ‘services’ ) ) {
      $query_var = ‘services’;
      }
      return $query_var;
      }, 50 );

      add_filter( ‘wcfmmp_store_default_template’, function( $template, $tab ) {
      if( $tab == ‘services’ ) {
      $template = ‘store/wcfmmp-view-store-services.php’;
      }
      return $template;
      }, 50, 2);

    • #129368
      Eden Brownlee
      Participant

      Ohh all good now ­čÖé How do I change the order of tabs? ­čÖé

    • #129375
      Eden Brownlee
      Participant

      One last thing ­čÖé The tabs seems to have no active class when clicked. hehehe

      So to wrap things up, adding a custom tab is now working.. but the tab do not have active class when it is the current page.
      And how do I filter that the shop will only show physical products via filtering.

    • #129513

      Hello,

      You can re-order your tab –

      add_filter( 'wcfmmp_store_tabs', 'new_wcfmmp_store_tabs_1105',150,2);
      function new_wcfmmp_store_tabs_1105($store_tabs, $id) {   
          $new_store_tabs = array();    
          $keyOrder = ['about','products','reviews', 'policies','followers']; //reorder your tabs
          foreach($keyOrder as $key) {
              $new_store_tabs[$key] = $store_tabs[$key];
          }    
          return array_filter($new_store_tabs);
      }

      Using this code.

      The active tab have “active” class in the wrapper “li”.

      how do I filter that the shop will only show physical products via filtering.
      >> You have to add “STORE CATEGORIES” widget in vendor store sidebar side
      Ref: https://wordpress.org/support/topic/show-only-specific-categories-in-vendor-store-page/

      Thanks.

    • #129950
      Eden Brownlee
      Participant

      That worked! TY ­čÖé

Viewing 8 reply threads
  • You must be logged in to reply to this topic.
    Glastrennw├Ąnde
    blumen verschicken Blumenversand
    blumen verschicken Blumenversand
    Reinigungsservice Reinigungsservice Berlin
    k├╝chenrenovierung k├╝chenfronten renovieren k├╝chenfront erneuern