Rearrange Woocommerce Products

Descripción

Rearrange Woocommerce Products is a plugin that allows you to rearrange/reorder the default sort order of the products on Woocommerce Shop Page. It also allows to rearrange products based on specific category.

This is very easy to use plugin with “drag & drop” functionality to rearrange the products.

Features

  • Ability to sort products using drag-n-drop feature.
  • Ability to sort products by any specific product category
  • Ability to select multiple products by single click and sort them at once.

To use this plugin, please make sure that Woocommerce is installed and Activated.

Important Notes

  1. If you are using any page builder plugin to display Products, this plugin may not work. Advice to consult page builder plugin developers for same.
  2. Products rearranging CAN NOT be undone after deactivating or deleting the plugin if you are doing sorting on all products.
  3. Products rearranging WILL BE undone after deactivating or deleting the plugin if you are doing sorting on products by categories.

Troubleshooting

If the sort order you changed is not working on your Shop page, please check below is set properly.

  1. Go to WordPress Admin > Appearance > Customize
  2. Select “Woocommerce” from left and go to “Product Catalogue”
  3. Now here check for “Default Product Sorting”.
  4. Make sure it is set to “Default sorting (custom ordering + name)”

Some products are missing when sorted by categories? Follow the solution below:

The workaround solution for this is to simply go to Admin > Rearrange Products > Sort by Categories and then select each category one by one from the Dropdown, and DON’T click the “Save” button. This will update all categories metadata into database one by one and will fix your issue. This is just a one-time process and it will fix your issue forever.
What is happening here is that the categories that you have not organized, don’t have metadata(for sort order) in the database. And because of that, some products don’t appear on those categories.

If you have huge list of product and the plugin is not saving the sort order changes

Then it may be issue with PHP configuration done on your server for memory_limit and max_execution_time.
Ask your web hosting provider to increase memory_limit and max_execution_time and try updating sort order after that.

This will fix the issue.

Plugin Demo

Contribute

If you want to fix a bug in the plugin or add new features, feel free to fork this github repo and follow the CONTRIBUTING.md file in the github repo for guidelines.

Capturas

  • The plugin at work reordering all products
  • Ability to select multiple products and sort
  • You can view product info from same page
  • Products sorted by Categories for reordering

Instalación

  1. Go to your admin area and select Plugins -> Add new from the menu.
  2. Search for “Rearrange Woocommerce Products”.
  3. Click install.
  4. Click activate. If woocommrce is not installed or activated then this plugin will also not activate.
  5. Go to WordPress “Admin > Products > Rearrange Products” and use drag-and-drop functionality to arrange your products.
  6. Click on “Sort by Categories” tab to arrange products by Categories.

Preguntas frecuentes

How do I use this plugin?

Go to WordPress “Admin > Products > Rearrange Products” and use drag-and-drop functionality to arrange your products.
Click on “Sort by Categories” tab to arrange products by Categories.

Can I undo the changes I have made after deactivating or deleting the plugin?

  1. Products rearranging CAN NOT be undone after deactivating or deleting the plugin if you are doing sorting on all products. As it directly updates the “menu_order” property of the products.
  2. Products rearranging WILL BE undone after deactivating or deleting the plugin if you are doing sorting on products by categories.

Reseñas

8 de septiembre de 2022
The plugin does exactly what it says, but -1 star because the products to be rearranged don't include a thumbnail, which would make things a lot easier
24 de agosto de 2022 1 reply
You did a great job I am very worried about product sorting. Now you help me a lot Thanks.
Leer todas las 34 reseñas

Colaboradores y desarrolladores

Este software es de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

"Rearrange Woocommerce Products" ha sido traducido a 3 idiomas locales. Gracias a los traductores por sus contribuciones.

Traduce "Rearrange Woocommerce Products" a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

Version 4.1.1

  • Added translations for:
  • English (Canada)
  • English (UK)
  • French (France)
  • Spanish (Colombia)
  • Spanish (Venezuela)
  • Russian
  • Hindi
  • Spanish (Ecuador)
  • Chinese (China)
  • Spanish (Spain)

Version 4.0.9

  • added Troubleshooting steps for fix missing products issue
  • tested with woocommerce version 6.5.1

Version 4.0.8

  • updated all node/npm packages to latest stable version
  • tested with wordpress version 5.9.3
  • tested with woocommerce version 6.4.1
  • added notes for developers for contributing to plugin

Version 4.0.5

  • added global translation support

Version 4.0.4

  • added plugin translation support

Version 4.0.3

  • minor security patch to escape sql query

Version 4.0.2

  • minor security patch
  • tested with woocommerce version 6.3.1

Version 4.0.1

  • delete entries from postmeta table when plugin uninstalled/deleted from admin
  • fixed the issue that was making navigation menus unordered

Version 4.0.0

  • Fixes made for user roles and permissions checking

Version 3.0.9

  • Do not escape post title

Version 3.0.8

  • Updated code to follow WPCS Protocol
  • Check for plugin authorization properly
  • Add CSRF security on Ajax requests

Version 3.0.7

  • Security fixes: disable direct code file access from browser

Version 3.0.6

  • Minor security fixes

Version 3.0.5

  • Security Fixes: Removed nonpriv handlers
  • Security Fixes: Added security to remove all SQL injections added as input
  • Minor fix for checking product loop inside pre_get_posts hook

Version 3.0.4

  • Fixed: While sorting by categories, some products that are added recently were not visible.
  • Code re-factoring and cleanup.

Version 3.0.3

  • Fixed: Keep default sort order on frontend if it was not updated for Categories.

Version 3.0.2

  • Fixed: Category orders not showing any products due to meta_query not found.

Version 3.0.1

  • Re-published the files as in v3.0.0, the files were not published properly

Version 3.0.0

  • Ability to sort products by any product category
  • Ability to select multiple products by single click and sort them at once
  • Removed feature to sort by Tags as it was not being used and also had unresolvable bug due to WC limitations
  • Tested for Woocommerce Version 5.7.1 and WordPress Version 5.8.1
  • Code cleanup

Version 2.3.6

  • Tested for Woocommerce Version 4.8.0 and WordPress Version 5.6
  • Code cleanup

Version 2.3.5

  • Tested for Woocommerce Version 4.7.0 and WordPress Version 5.5.3
  • Tested with Storefront Theme Version 2.9.0
  • Minor bug fixes with Group by Categories & Tags sorting.
  • In group by categories parent category was also including products from child categories. So they were repeated to 2 places. This has been updated to show products exactly below their parent categories only. (changed ‘include_children’ to “false” in tax_query)
  • Styling issue fixed for long product names
  • Added button to expand/collapse all categories & tags

Version 2.3.1

  • Tested for Woocommerce Version 4.3.1 and WordPress Version 5.4.2
  • Added important notices for sorting by categories and tags

Version 2.3.0

  • Added feature to group and sort by Product Tags
  • Added feature to move products up, down, top, bottom of the list using arrow buttons
  • Added serial numbers(not ID) to each products so it can give us idea on which product’s sort order we changed
  • Added current user check for “manage_woocommerce” capability
  • Plugin information updated to properly show “tested upto” version of Woocommerce
  • Added security to disable direct access to the plugin PHP files

Version 2.2.0

  • Added expand/collapse feature on categories to clear the clutter
  • Fixed a minor bug that was happening while activating the plugin
  • Tested for Woocommerce Version 4.0.0 and WordPress Version 5.3.2

Version 2.1.2

  • Hide Products from list that are set as “private”
  • Added a fix for bug that was checking the user role
  • Tested for Woocommerce Version 3.7.1 and WordPress Version 5.2.4

Version 2.1.1

  • Added shortcut button to edit products
  • Tested for Woocommerce Version 3.7.0 and WordPress Version 5.2.3

Version 2.0.0

  • Added feature to group products by categories
  • Added feature to preview product info from same page
  • Added some minor bug fixes
  • Tested for latest Woocommerce version 3.6.3

Version 1.1.1

  • Added fix as the plugin was not working for some people. As it was using static table prefix “wp_”. So changed it to dynamic table prefix to work will all kind of WP Databases.
  • Tested for latest Woocommerce version 3.5.3

Version 1.1.0

  • Added capability to handle huge amount of products.
  • Combined multiple sql update queries into one query.

Version 1.0.0

  • Initial release.