描述
B2BProduct Showcase是一款专为B2B企业网站设计的轻量级产品展示插件,与传统的电子商务插件不同,该插件专注于产品展示和查询功能,没有购物车、支付或库存管理等复杂的电子商务功能。
主要特点:
- 轻量化设计-仅包括基本的产品展示功能以实现最佳性能
- 自定义帖子类型-使用
产品帖子类型以便于产品管理 - 内置字段组-无需额外的ACF配置即可使用
- B2B-特定功能-询盘按钮和企业级显示布局
- 类别管理-支持分层类别和标签系统
- 响应式设计-完美适应各种设备
- SEO友好-结构化数据和面包屑导航
- 高度可扩展-用于开发人员定制的丰富挂钩
核心功能:
-
产品管理
- 产品标题、描述、特色图片
- 产品图库(多张图片展示)
- 产品类别和标签
- 询盘按钮设置
-
前端显示
- 产品存档页面
- 产品详情页
- 类别/标签页面
- 简码支持
-
管理仪表板
- SEO 设置
- 询盘按钮定制
- 显示选项控件
-
开发者友好
- 丰富的动作挂钩和过滤器
- 模板覆盖支持
- AJAX接口
- 干净的代码结构
支持
如需技术支持,请访问插件页面或WordPress.org支持论坛。
许可证
此插件在GPL v2或更高版本许可下发布。
安装
- 将插件文件上传到
/wp-content/plugins/naibabiji-b2b-product-showcase/目录 - 通过WordPress中的“插件”菜单激活插件
- 转到
设置->;产品展示配置插件选项 - 开始添加产品内容
常见问题
-
这个插件支持购物车功能吗?
-
这个插件是为B2B企业设计的,专注于产品展示和查询功能,没有电子商务功能,如购物车或支付。
-
如何自定义产品模板?
-
您可以在主题目录中创建以下模板文件以覆盖默认模板:
–single-naibb2pr_products.php-单个产品页面
–archive-naibb2pr_products.php-产品归档页面
–taxonomy-naibb2pr_product_category.php-产品类别页面
–taxonomy-naibb2pr_product_tag.php-产品标签页面 -
支持哪些短代码?
-
该插件提供以下短代码:
–[naibabiji_b2b_products]-显示产品网格
–[naibabiji_b2b_product_categories]-显示产品类别有关详细参数,请查看设置页面上的使用说明。
-
Yes! The plugin provides dedicated sidebar widgets with the following features:
Key Features:
* Smart Style Loading – Automatically detects shortcodes in sidebar and loads CSS styles only when needed
* Flexible Configuration – Supports product count, column layout, category filtering and other parameter settings
* Responsive Design – Automatically adjusts to single column display on mobile devices
* Theme Compatibility – Perfectly compatible with popular WordPress themesUsage Steps:
1. Go to WordPress adminAppearance Widgets
2. Find the “Naibabiji B2B Product Showcase” widget
3. Drag to the target sidebar area
4. Configure display parameters (product count, columns, show categories, etc.)
5. Save settingsRecommended Configuration:
* Sidebar display:[naibabiji_b2b_products limit="3" columns="1" show_category="false" show_excerpt="false"]
* This configuration is suitable for sidebar space, showing 3 products in single column layout without categories and excerpts -
This issue has been fixed in v1.0.13. If you still encounter style problems, please try:
- Clear Cache – If using a cache plugin, clear all caches
- Refresh Page – Use Ctrl+F5 to force refresh the browser
- Check Widget Configuration – Ensure the widget is properly saved
- Theme Compatibility – Some themes may require additional CSS adjustments
If the problem persists, please contact technical support and provide the theme name for further troubleshooting.
评价
贡献者及开发者
更新日志
2.0.0
- Major Feature Update: Separated SEO content area into independent top and bottom sections
- Added ability to set different SEO content for page top and bottom positions
- Each position has independent enable/disable toggle
- Automatic data migration from old single content field to new dual-field structure
- Improved flexibility and control over category/tag page SEO optimization
- Breaking change: Removed position dropdown, now using separate editors for top/bottom content
- New backend product display column count setting for frontend products
1.0.13
- Fixed foreach() warning error in sidebar widget processing
- Added type checking for widget_ids to prevent type mismatch errors
- Improved data validation for WordPress sidebar widgets configuration
- Enhanced plugin stability and error handling
1.0.12
- Enhanced CSS loading logic with sidebar widget shortcode detection
- Fixed CSS styles not working in sidebar widgets
- Smart detection of shortcode content on pages, loading CSS resources only when needed
- Improved responsive design for better product card display on mobile devices
1.0.11
- Added Elementor shortcode support in SEO content area
- Standardized function and variable prefixes to comply with WordPress plugin best development practices
1.0.10
- 添加了启用/禁用产品元信息显示的切换
- 改进的翻译和更新的本地化文件
1.0.9
- 新增前后按钮颜色自定义入口,管理者可快速调整风格以匹配品牌视觉
- 将产品简短描述替换为填写区,使用富文本编辑器优化输入体验并提高Gutenberg兼容性
1.0.8
- 将产品类别URL段塞从“naibb2pr-product-category”更改为“产品类别”
- 改进的URL结构,以获得更好的SEO和用户体验
- 注意:更新后,请停用并重新激活插件或访问设置>永久链接并保存以刷新重写规则
1.0.7
- 将产品存档页面URL从“nabb2pr-Products”更改为“products”
- 修复了管理设置页面中的PHP语法错误
1.0.6
- 修复了WordPress官方反馈的问题
- 优化内联样式和脚本加载以符合WordPress最佳实践
- 改进register_setting()函数的sanitize_callback参数配置
- 确保所有自定义文章类型和分类法都使用唯一前缀命名
- 删除了直接< style > 和 < script >记,并用wp_add_inline_style()和wp_add_inline_script()函数替换它们
- 增强的代码安全性和WordPress兼容性
- 修复了PHP语法错误
1.0.5
- 优化搜索结果页面的显示
- 删除了不推荐使用的load_plugin_textdomain()函数调用,以实现WordPress 4.6+兼容性
- 通过表单处理中改进的nonce验证增强安全性
- 修复了POST和GET请求处理程序中的输入清理
- 改进的安全日志记录机制以遵循WordPress最佳实践
- 在元字段处理中用WordPress API函数替换直接数据库查询
1.0.4
- 增强了AJAX处理程序的安全性
- 改进的nonce验证和输入清理
- 添加递归数组清理
- 添加GET参数清理方法
- 修复了管理功能中的权限检查
- 改进了安全事件日志记录
1.0.3
- 前端显示bug修复
1.0.2
- 多语言支持
1.0.1
- 修改代码以满足提交到官方WordPress存储库的要求
1.0.0
- 初始版本
- 基本产品展示功能
- 自定义帖子类型和分类
- 前端模板和短代码
- 管理员仪表板设置页面
- AJAX功能支持
- 开发者挂钩系统
