
Trending Products 是一个 WooCommerce 插件/插件,可让您在 WooCommerce 支持的商店中显示热门产品。该插件具有不同的管理设置,可在您的网站上显示热门产品。
您可以根据不同的选项显示热门产品,例如销量最高的产品、浏览量最大的产品、特价产品,或者您也可以选择可以在商店中展示的自定义产品。
该插件在内部使用默认的 woocommerce 循环模板来显示产品,因此它会根据您当前的主题样式自动显示产品。
特征
- 强大的管理后端来自定义插件。
- 根据最高销量产品、查看次数最多的产品、特色产品、特价产品轻松更改要显示的趋势产品,或选择要显示为趋势的产品。
- 轻松设置要显示为热门商品的商品数量。
- 两种不同的布局(网格和滑块)以显示商店中的热门产品。
- 能够在热门产品上显示徽章并自定义徽章样式和文本。
- 能够将热门产品显示为商店页面顶部的滑块。
- 带有一个短代码,允许您在任何页面/帖子/小部件上显示热门产品。
- 能够定义短代码的自定义设置。
简码设置
您可以使用
[woo_trending_products]
短代码以在任何页面/帖子/小部件等上显示热门产品。
请找到可用于短代码的变量列表。
| 变量 | 描述 |
|---|---|
type |
允许您选择是否要将产品显示为网格或滑块。 可能的值:网格、滑块 用法: [woo_trending_products type="slider"] |
num_slide |
如果使用类型作为滑块,则要一次显示的幻灯片数量。 可能的值:1、2、3、4 等。任何数字。 用法: [woo_trending_products num_slide="1"] |
total_item |
定义要显示的项数 可能的值是任何数字,例如 1、2、3 等。 用法: [woo_trending_products total_item="10"] |
show_title |
在产品上方显示热门产品标题。 可能的值:是和否。 用法: [woo_trending_products show_title="yes"] |
您可以组合任何短代码变量并在不同的地方显示趋势产品。查看下面的一些示例:
[woo_trending_products type="slider" num_slide="1" total_item="6" show_title="no"]
更改日志
= Version 1.6 =
* Fixed: Rejection issue
= Version 1.5 =
- Fixed: Security issue
- Code optimization
= Version 1.4 =
- Fixed: Featured product issue.
- Fixed: Custom product and product fetch issue resolve.
- Fixed: CSS issue.
- Added: Translation, text domain, readme file.
- Removed: Unnecessary option.
Version 1.4 (12th Aug 21)
- Upgraded the plugin to match the latest coding standards.
- Tested with latest WordPress and fixed related issues.
- Tested with latest WooCommerce and fixed issues.
Version 1.3(21st May 18)
- Fixed compatibility with WooCommerce 3.3.5 and WodPress 4.9.6
- Fixed ajax issue for woocommerce products
Version 1.2(12th April 17)
- Fixed compatibility with WooCommerce 3.0
Version 1.2(14th Mar 17)
- Select2 used instead of chosen
- Changed ajax search products
- Fixed issue for product show numbers
Version 1.0 (31 AUG 15)
- Initial public release.
原文链接:https://www.hrdweb.com/49306.html,转载请注明出处~~~


评论0