Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › Product Vendors › Products Dashboard show entries dropdown
- This topic has 5 replies, 3 voices, and was last updated 3 years, 11 months ago by Sayan Naskar.
- AuthorPosts
- April 4, 2020 at 6:23 pm #115344AbdullahParticipant
Hi,
In marketplace products dashboard, there is a dropdown menu to display the number products in dashboard. Is it possible to replace the values with my own? E.g. default dropdown options are 10, 25, 50, 100. Can I add or update these values?
Thanks
Abdullah - April 5, 2020 at 11:02 am #115555WCFM ForumKeymaster
- April 7, 2020 at 8:31 pm #116441AbdullahParticipant
No, that’s not it. But if you see just under the highlighted section you provided. It says “Show 25 Products” dropdown. I would like to be able to change available values in that dropdown. Current options are 10, 25, 50, 100. I would like to make them 100, 200, 300, 500 etc.
Thanks
Abdullah - April 12, 2020 at 12:40 pm #118341WCFM ForumKeymaster
Well, that dropdown values can not be changed. But it’s possible to change default numbers, which is by default 25
Thank You
- April 13, 2020 at 11:05 pm #118825AbdullahParticipant
How do we change the default to the highest value? Thanks
- April 14, 2020 at 1:14 am #118851Sayan NaskarKeymaster
Hello,
Insert the following code in your site, through the child themes function.php or through the snippet plugin in your websiteadd_filter('wcfm_datatable_page_length', 'wcfm_custom_alter_datatable_count'); function wcfm_custom_alter_datatable_count() { return 100; }
- AuthorPosts
- You must be logged in to reply to this topic.