| 开发者 | naibabiji |
|---|---|
| 更新时间 | 2026年11月30日 15:13 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权网址: | 版权信息 |
[naibabiji_b2b_products] and [naibabiji_b2b_product_categories] for flexible display/wp-content/plugins/naibabiji-b2b-product-showcase/B2B Showcase → Settings to customize product display, inquiries, SEO content, and archive navigation不支持。本插件专为 B2B 企业设计,专注于产品展示和询盘,不包含购物车、支付等电子商务功能。
You can create the following template files in your theme directory to override the default templates:
single-naibb2pr_products.php - Single product pagearchive-naibb2pr_products.php - Product archive pagetaxonomy-naibb2pr_product_category.php - Product category pagetaxonomy-naibb2pr_product_tag.php - Product tag pageThe plugin provides the following shortcodes:
[naibabiji_b2b_products] - Display product grid[naibabiji_b2b_product_categories] - Display product categories[naibabiji_b2b_contact_form] - Display an inline contact form for collecting messages是的!您可以在任何文本小工具中使用插件的短代码,具有以下功能: Key Features:
Appearance → Widgets
[naibabiji_b2b_products limit="3" columns="1" show_category="false" show_excerpt="false"]
Go to B2B Showcase → Settings → Archive Content and choose Top buttons or Left navigation under Category Navigation Layout. Top buttons work well for a small catalog. Left navigation is recommended for larger or multi-level catalogs and automatically becomes an expandable panel on smaller screens.
此问题已在 v1.0.13 中修复。如果您仍然遇到样式问题,请尝试:
Inquiry Type is set per product (None / Standard / Bulk) and defines what kind of inquiry experience that single product offers. Inquiry Mode is a site-wide setting (External Link or Built-in Form) that only affects Standard-type products — it controls whether the inquiry button links to an external URL or opens a popup. Bulk-type products always use the built-in bulk inquiry form regardless of this setting.
The plugin enforces a rate limit of 3 submissions per IP address within 5 minutes to prevent spam. If you need to test frequently or want a higher threshold, install a captcha plugin that integrates through the naibabiji_contact_form_validate filter.
Go to Settings → Product Page, enable frontend price display, and select product lists/cards and/or product detail summaries. Lists/cards includes archives, shortcodes, Related Products and product display blocks. Products without a price do not show a price. In SEO, set the currency code and optionally override the frontend symbol. Enter product amounts without currency symbols.
Yes. In Settings → Product Page → Inquiry Section Copy, set the global heading and description for standard product inquiries. These fields use plain text, and the description supports line breaks. Leave either field blank to use its original translated text. Existing inquiry button settings remain separate.
支持。B2B Product Showcase 通过 WordPress Abilities API 开放只读的产品目录能力,兼容的 MCP 适配器可将这些能力提供给 Claude、ChatGPT、Codex 等支持 MCP 的 AI 客户端使用。插件本身不含 MCP 服务器。
不会。目前的 AI 集成为只读模式,AI 助手只能读取已发布的产品目录数据,无法通过这些能力创建、编辑、发布或删除产品,也无法访问询盘记录、修改插件设置或读取 API 密钥。
[naibabiji_b2b_products] shortcode and the Shortcode Generator now support filtering by product tag, in addition to product category.post__not_in, preventing the displayed count from dropping below the expected 4 when the current product appears in the random results.naibabiji_b2b_product_after_related_products — fires after the related products section on single product pages, allowing custom content injection below the related products grid.width: 100% and box-sizing: border-box to archive/taxonomy containers for more predictable cross-theme width behavior./thank-you).naib_get_lead_detail endpoint, avoiding large JSON in HTML data attributes.inquiry_type and inquiry_data columns to the leads table with idempotent checks..active CSS class on overlay/panel for compatibility with plugin's shared Glassmorphism style system.naib-field-full class.<tr> label headers) when External Link mode is selected, eliminating orphaned section titles on the settings page.naibb2pr-product-tag to product-tag for cleaner, more SEO-friendly URLs.[naibabiji_b2b_contact_form] — embed a standalone contact form on any page without product association.Contact Form source filter in Customer Inquiries admin list.naibabiji_contact_form_validate filter, naibabiji_contact_form_before_submit action).class-leads-handler.php - added run_cleanup_for_cron() wrapper method to prevent return values in cron callbacks.:root CSS variables for better theme synchronization.<strong>) was rendered on a single line instead of separate paragraphs due to wpautop() not handling single line breaks between inline elements correctly.wpautop() processing, ensuring each line gets its own <p> tag.Naibabiji_B2B_Product class, ensuring consistent logic and cleaner templates.background shorthand to background-color to allow dynamic inline styles to override defaults