Order By Visits
Simple plugin for WordPress with WooCommerce that enables simple stats on e-shop products.
by Ondrej Donek · github.com/ondrejd/odwp-wc-orderbyvisits · website
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/ondrejd/odwp-wc-orderbyvisits/releases/download/0.5.0/odwp-wc-orderbyvisits-0.5.0.zipReadme
Order by Visits Plugin for WooCommerce
Plugin for WordPress and WooCommerce that adds new products orderby rules - Order by popularity (views) and Order by popularity (sales).
Donations
If your like this plugin and you want to be maintained and improved more frequently consider donation:
Description
Main features:
- simple statistics about how many times was product displayed,
- possibility to generate random data,
- new products orderby rules - Order by popularity (views) and Order by popularity (sales),
- Czech and English localization.
Installation
Plugin's installation is easy:
- Upload plugin's folder
odwp-wc-orderbypopularityto the/wp-content/plugins/directory - Activate the plugin through the Plugins menu in WordPress
- For more details see plugin's home page
Frequently Asked Questions
When I should use this plugin?
Whenever you want some more products orderby rules on WooCommerce shop page.
What data are collected?
Just count of display of product's detail page - value is saved as a product's meta value.
Screenshots
- Updated orderby select

- Settings of the plugin (Admin -> WooCommerce -> Integration):

- Updated default orderby select (Admin -> WooCommerce -> Products -> Display):

License
This Source Code is subject to the terms of the GNU General Public License 3.0.
Changelog/TODO
~1.0
- [ ] publish on WordPress Plugins site
0.5.0
- code completely refactored
- tested on WordPress 4.8.2 a WooCommerce 3.1.2
- released on GitHub's repository
- finished functionality for button Update products on settings page,
- for Order by popularity (sales) use meta key
total_sales, - inline JavaScript moved to standalone file (
assets/js/admin.js), - inline CSS moved to standalone file (
assets/js/admin.css).
0.3.0
- tested on WordPress 4.6.1
- renamed to Order By Visits
0.2.10
- fixed bug that occured after plugin's activation
- updated localization
0.2.9
- added Enable CRON option and corresponding functionality
0.2.6
- fixed code in
ODWP_WC_SimpleStats_Integration
0.2.5
- fixed that
enableoptions was not used - added option
enable_randomfor enabling/disabling random order for products with same visits count. - added button for generating random order values
0.2.0
- count how many times were project's detail viewed
- count how many times were project added to the cart
- adding our custom products ordering (Popularity (visits))
- add Czech localization
0.1.1
- fixed
uninstallhook - fix integration (settings are not saved)
0.1.0
- initial public version
- source codes added to GitHub
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| 0.5.0 | Oct 9, 2017 | odwp-wc-orderbyvisits-0.5.0.zip | 6 |
| 0.2.0 | Oct 30, 2015 | odwp-wc-simplestats-0.2.0.zip | 6 |
Active-site estimate ≈10 comes from the median of recent superseded releases. Method.
