Number of products per page

This topic contains 1 reply, has 2 voices, and was last updated by WCfM Forum WCfM Forum 1 week, 5 days ago.

  • Author
    Posts
  • #80174
    Avatar
    Anis Rahaman
    Participant

    Hi
    I have set ‘Products per page’ to 12, but it only displays 10 product per page
    Please see the attached file for more info. Can you advise how to fix this?

    Attachments:
    You must be logged in to view attached files.
  • #80397
    WCfM Forum
    WCfM Forum
    Keymaster

    HI,

    Well, possibly you have set this setting after creating this vendor.
    Now for this vendor you have to change this form his store setting. https://ibb.co/LSd7hyB

    Or, you may add this code to your site and apply rule globally –

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

    Add 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/

    Thank You

You must be logged in to reply to this topic.