Change product number on wcfm_stores 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 5 reply threads
  • Author
    Posts
    • #70494
      georgeanna
      Participant

      How can i change products number on wcfm_stores page , i want to change from 10 to 12 products.
      Thank you

    • #70930
      WCFM Forum
      Keymaster

      HI,

      Product number or stores number?

      wcfm_stores short code shows stores list.

      Well, you may change this easily by defining “per_page” as short code attribute.

      For details please check this – https://docs.wclovers.com/store-list/

      Thank You

    • #71009
      georgeanna
      Participant

      Sorry, i told you the wrong page. I want to change products number on store page, not stores number.

    • #71015
      WCFM Forum
      Keymaster

      That’s fine.

      Well, there already has setting for this at WCFM Admin Setting -> Marketplace Setting.

      But for existing vendors you have to change this from their setting panel.

      Better ad this code to your child theme’s functons.php and this will make this change for all vendors –

      add_filter( 'wcfmmp_store_ppp', function( $post_per_page ) {
      	$post_per_page = '12';
      	return $post_per_page;
      }, 50 );

      Thank You

    • #71020
      georgeanna
      Participant

      Thank you

    • #71133
      WCFM Forum
      Keymaster

      Welcome 🙂

Viewing 5 reply threads
  • The topic ‘Change product number on wcfm_stores page’ is closed to new replies.