WooCommerce Products Per Page

Skildring

WooCommerce Products Per Page is a simple plugin that adds a very valuable feature to your site; the ability for you and the customer to change the products listed per page.

When your customers are shopping online they want the best experience possible, for some this means to have a small amount of products per page, while others like to have a long list of many (all) products available.
Using the WooCommerce Products Per Page your customers can choose how many products they want to see per page.

WooCommerce Products Per Page dropdown is easy to use and has several other product page settings available.
When activated the plugin already works and has multiple settings you can set to your desire.

Options like:

  • Dropdown position (top or bottom, top and bottom)
  • List op options products per page to show to your visitors
  • Default number of products per page
  • Columns per page

Look at the screenshots!

Translations
– Dutch
– French
– Persian
– German
– Danish
– Spanish
– Brazilian
– Russian
– Hebrew
– Swedish
– Romanian

Skjermbilete

  • Dropdown box on the WooCommerce products page
  • Close-up of the WooCommerce products per page dropdown
  • WooCommerce Settings page

Installasjon

  1. Upload the folder woocommerce-products-per-page to the /wp-content/plugins/ directory
  2. Aktiver innstikket gjennom Innstikk-menyen i WordPress
  3. Go to the settings page to fine-tune the settings if desired

Vanlege spm.

Can this be used with shortcodes?

At this moment the plugin doesn’t work with manual shortcodes that list products, only on the official WooCommerce shop page (this includes category archives etc).

The number of products per page isn’t changing when using the dropdown, why?

There’s a chance that your theme or another plugin is overriding the number of products per page. This functionality may need to be disabled in order for the plugin to work.
First try to determine what is causing this, your theme or a plugin. This can be done by switching themes / enable/disable plugins to see when the dropdown starts to work.
When determined what is causing it, it is possible to figure out what code is executed and how to disable that.

Feel free to open a support thread if you need any further help. Please do note that I cannot help everyone and every theme to be compatible.

Omtalar

18. september 2021
I’m happy using this plugin. As it’s clear thus easy to understand, I was able to quickly modify it to suit my needs and even adapt the filter plugin I use to work with it 🙂 Many thanks to the dev !
21. mars 2021
in use 5y u need to do small adjustment for multilingulal to remove one word
18. februar 2021
I’ve had limited testing with it, but this plugin seems to work just fine with Woocommerce 5.0.0 and Wordpress 5.6.1. A useful plugin that offers what should be a core Woocommerce function.
Les alle 80 omtalar

Bidragsytarar og utviklarar

“WooCommerce Products Per Page” is open source software. The following people have contributed to this plugin.

Contributors

“WooCommerce Products Per Page” er omsett til 2 språk. Takk til omsetjarane for bidraga deira.

Omset “WooCommerce Products Per Page” til ditt eige språk.

Interested in development?

Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.

Endringslogg

1.2.8 – 30/05/2024

  • [Update] – Prevent unintended quantity of ppp being set

1.2.6 – 02/01/2023

  • [Update] – Declare HPOS (High-Performance Order Storage) compatibility
  • [Update] – Bump WooCommerce Requires/Tested up to version numbers

1.2.6 – 06/02/2018

  • [Critical] – Fix bug that displays 0 products on shop page on WC 3.3.1

1.2.5 – 20/11/2017

  • [Fix] – Accidentally overwrote the changes of 1.2.3 in version 1.2.4, this re-applies those changes. Sorry for the inconvenience.

1.2.4 – 07/11/2017

  • [Fix] – Default «list of dropdown options» setting is not properly set on the settings page.

1.2.3 – 23/10/2017

  • [i18n] – Add Swedish translation
  • [i18n] – Add Romanian translation
  • [Fix] – Persistent cart snag where cart data gets deleted when logging out/back in

1.2.2 – 23/12/2015

  • [i18n] – Add Russian translation
  • [i18n] – Add Hebrew translation
  • [Improvement] – Change deprecated function to its successor

1.2.1 – 05/08/2015

  • Fix – GET method remembers query parameter strings

1.2.0 – 12/06/2015

  • Improvement – Structural changes to the plugin
  • NOTE – Due to the structural changes please check compatibility IF you have implemented a custom code
  • Improvement – Move the settings page to WooCommerce -> Settings -> Products -> Display
  • Add – Brazilian translation

1.1.7 – 25/04/2015

  • Improvement – Add url escaping
  • Add – Spanish translation
  • Add – Danish translation

1.1.6 – 20/03/2015

  • Improvement/fix – Setting the per_page query object. Preventing/fixing notices.

1.1.5 – 15/02/2015

  • Fix – Console notice in rare cases after WC 2.3 update

1.1.4 – 10/01/2015

  • Fix – Dropdown hides behind add to cart notice (non-ajax button)
  • Add – German translation

1.1.3.1 – 22/12/2014

  • Fix – Backwards compatibility fix

1.1.3 – 20/12/2014

  • Improvement – Improved code quality
  • Improvement – Replace $woocommerce global with WC() singleton
  • Improvement – Create WooCommerce_Products_Per_Page() singleton
  • Improvement – Bit clearer structure
  • Remove – Return void comment tags

1.1.2 – 11/08/2014

  • WC 2.2 compatibility fix

1.1.1 – 18/08/2014

  • Proper translation for «All»
  • Products in admin area aren’t influenced anymore
  • Removed unneeded comments

1.1.0.1

  • Removed – Duplicated main file with wrong name

1.1.0

  • Complete plugin rewrite
  • Added setting for HTTP method (defaults to POST)
  • Easier use in themes/templates
  • Fix – bug with product tags
  • Removed stylesheet (was just one line :o)
  • Inserted override for themes that would override the posts_per_page in query

1.0.10

  • Fix – Notices in debug mode

1.0.9

  • Improvement – For dropdown on product showing pages only
  • Improvement – Compatibility for WC 2.1.X
  • Fix – WC 2.1.X now saves PPP with empty cart

1.0.8

  • Fix – Bug on tag archive pages
  • Tweak – Dropdown only shows on pages which show products

1.0.7

  • Added support for filters/orders

1.0.5/1.0.6

  • Added French translation (thanks to whoaloic)
  • Fixed WooCommerce 2.0.X compatibily
  • Now is capable for WooCommerce 2.0.X and 2.1.X

1.0.4

  • Added option to control behaviour of select*
  • Added filter on option text*
  • Improved coding to WordPress coding standards

1.0.3

  • Fixed dutch translation*

1.0.2

  • Added Dutch translation*
  • Added «None» to the dropdown locations*
  • Now uses WC sessions instead of cookies*
  • Gave higher priority to hook «loop_shop_per_page»*

1.0.1

  • Small update for cookies

1.0.0

  • Initial release