Increasing number of products on store page

This topic contains 3 reply and 2 voices, and was last updated by Nayem 8 years, 7 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
September 10, 2015 at 8:59 pm 71358
Nayem Hi guys, How can I increase the number of products displayed on a store page from 10 to say 12? I have tried going to wp-admin->Settings->Reading->changing in “Blog pages show at most” but this had no impact. I also do not see a setting for this on the sellers dashboard (looked at settings-> store). Ideally I'd like to change this for the entire site though, not just for individual sellers. Thanks
September 13, 2015 at 11:09 am 71592
Nayem Nayem

Hello Ferag,

Every seller can set the product number to show on the store page from their dashboard->settigs. Now, if you want to change this thing for entire site then you have to change the code.

Please open dokan plugin folder/classes/rewrites.php file and line number 211- $post_per_page = isset( $store_info['store_ppp'] ) && !empty( $store_info['store_ppp'] ) ? $store_info['store_ppp'] : 10;

Insert your own number instead of 10.

September 14, 2015 at 8:19 pm 71790
Fearg Fearg

Thanks Nayem,

I don’t see any option from the seller dashboard to control this. Could you send me a screenshot of where it should be please?

If I change the plugin file will I have to update it every time there is a dokan update?

September 15, 2015 at 10:30 am 71820
Nayem Nayem

Hello,

You will get this option in seller dashboard->settings. Please check this screenshot- http://i.imgur.com/pVTFOCS.png.

Yes, if you have changed in the core file then you will loose your changes during the update. To avoid this you have to override the entire file from the child theme.

Thanks.

Viewing 3 Posts - 1 through 3 (of 3 total)