Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Change product number on wcfm_stores page
- This topic has 5 replies, 2 voices, and was last updated 5 years, 5 months ago by WCFM Forum.
- AuthorPosts
- July 1, 2019 at 8:47 am #70494georgeannaParticipant
How can i change products number on wcfm_stores page , i want to change from 10 to 12 products.
Thank you - July 4, 2019 at 5:10 am #70930WCFM ForumMember
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
- July 4, 2019 at 9:27 am #71009georgeannaParticipant
Sorry, i told you the wrong page. I want to change products number on store page, not stores number.
- July 4, 2019 at 9:42 am #71015WCFM ForumMember
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
- July 4, 2019 at 10:40 am #71020georgeannaParticipant
Thank you
- July 5, 2019 at 5:54 am #71133WCFM ForumMember
Welcome 🙂
- AuthorPosts
- The topic ‘Change product number on wcfm_stores page’ is closed to new replies.