外掛說明
Display WooCommerce products sorted by view count.
- Most Viewed Products widget displays list of products which are most viewed.
- This also have a short-code
[wcmvp]
,[wcmvp product_count="10"]
to display the most viewed products inside page/post content. - Use the function
<?php wcmvp_display_most_viewed_products( 10 ); ?>
If you like this plugin, please rate and/or review it. If you have ideas on how to make the plugin even better or if you have found any bugs, please report these in the Support Forum or in the GitHub repository.
安裝方式
- Install WooCommerce if not already installed (https://wordpress.org/plugins/woocommerce/)
- Extract the .zip file for this plugin and upload its contents to the
/wp-content/plugins/
directory. Alternatively, you can install directly from the Plugin directory within your WordPress Install. - Activate the plugin through the “Plugins” menu in WordPress.
- Use any of the ways below to display the most viewed products.
- Short-code
[wcmvp]
,[wcmvp product_count="10"]
to display the most viewed products inside page/post content. - Function
<?php wcmvp_display_most_viewed_products( 10 ); ?>
in templates. - Widget
Most Viewed Products
inside sidebars.
- Short-code
Note:
WooCommerce plugin must be installed prior to this.
使用者評論
2017 年 12 月 6 日
Anda joya!
2016 年 12 月 21 日
1 則留言
when enabled the plugin displays , “no products have been viewed yet” (of course i viewed products)
2016 年 9 月 3 日
just put it , made it 50 products , in a secret page and its just THE BEST .
2016 年 9 月 3 日
1 則留言
Surprising that this doesn’t have more installations, but possibly another plugin is doing something similar. This plugin works well for tracking product views. It would be good if there were an admin panel, but I got around this by putting the short code in a password-protected page. Tracks in real time. Very useful to see what your users are doing.
參與者及開發者
變更記錄
1.0.0
- Initial release.