WC Lovers

WooCommerce Frontend Manager - Multivendor marketplace vendor dashboard

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!

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • datacatalysr00t
    Participant

    Thank you for your reply

    i checked and i found 2 shortcodes was defined there in the same page
    [wcfm_stores sidebar=”” map=”” includes=”0,38,18,14,17,6,36,218,77,262,16,0″ has_orderby=”” filter=””]
    and
    [wcfm_stores sidebar=”” excludes=”0,38,18,14,17,6,36,218,77,262,16,78,0″ map=”” filter=”” has_orderby=”” per_page=”60″]

    i changed [wcfm_stores sidebar=”” map=”” includes=”0,38,18,14,17,6,36,218,77,262,16,0″ has_orderby=”” filter=””]
    to [wcfm_stores sidebar=”” map=”” includes=”0,38,18,14,17,6,36,218,77,262,16,0″ has_orderby=”” filter=”” per_page=”10″]

    but the issue is not resolved.

    also the pagination shortcode was removed because the client want to scroll down and see all the stores in single page, is this can considered source of that problem?

    is there is any probability that the $limit variable has no value or already set to 0 somewhere or it’s an argument.
    if we see the source code:

    
    16. $user_count   = count($all_stores);
    17. $num_of_pages = ceil( $user_count / $limit );
    19. $args = array(
    	  ...
    		'limit'           => $limit,
    ...);
    60. <?php if ( $num_of_pages > 1 ) { $WCFMmp->template->get_template( 'store-lists/wcfmmp-view-store-lists-pagination.php', $args ); } ?>
    

    thank you for your help.

Viewing 1 post (of 1 total)