Linux 软件免费装
Banner图

Contexa AI Search

开发者 contexa
更新时间 2026年4月3日 22:13
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce search ajax search autocomplete product search ai search

下载

1.0.0 1.1.0 1.2.0 1.4.0 1.5.0 1.6.0 1.7.1 1.2.1 1.3.0 1.7.0 1.7.2

详情介绍:

WooCommerce's Default Search Costs You Sales Your customers search for "blue running shoes" and get irrelevant results. They search "iphne case" with a typo and get nothing. 80% of shoppers leave after a bad search experience — and WooCommerce's built-in search only matches exact title keywords. Contexa fixes this. It understands what your customers mean, not just what they type. How Contexa Is Different Search Shortcode Add AI search to any page: [contexa_search layout="list" columns="4" show_description="yes" show_price="yes" results_per_page="12" template="1"] Available options: ``` Basic search (list layout, default template) [contexa_search] List layout with classic template [contexa_search layout="list" template="1"] Grid layout with 3 columns and minimal template [contexa_search layout="grid" columns="3" template="2"] Grid with modern bordered template, no descriptions [contexa_search layout="grid" template="4" show_description="no"] List with colorful gradient template and 20 results [contexa_search layout="list" template="5" results_per_page="20"] Custom placeholder and button text [contexa_search placeholder="What are you looking for?" button_text="Find Products"] ``` Recommendations Shortcodes Display smart product recommendations with AJAX add to cart functionality: Similar Products (product page recommendations): [contexa_similar product_id="123" title="You May Also Like" columns="4" limit="8"] Trending Products: [contexa_trending title="Trending Now" columns="4" limit="8"] Personalized Recommendations (based on visitor behavior): [contexa_personalized title="Recommended For You" columns="4" limit="8"] Frequently Bought Together: [contexa_frequently_together product_id="123" title="Frequently Bought Together" columns="4" limit="4"] Cart-Based Recommendations: [contexa_cart_based title="Complete Your Purchase" columns="4" limit="4"] All recommendation shortcodes include: Requirements

安装:

  1. Upload the plugin files to /wp-content/plugins/contexa-ai-search/ directory, or install through WordPress plugins screen
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Get your API key from Contexa.co
  4. Navigate to Contexa menu in WordPress admin
  5. Enter your API key in the settings
  6. Sync your products

屏幕截图:

  • Search results in grid and list layouts with multiple templates
  • Smart product recommendations with AJAX add to cart
  • Simple admin settings — enter API key and you're ready
  • Product sync dashboard with progress tracking

升级注意事项:

1.7.2 Direct API calls from frontend for faster search and tracking. Recommended update. 1.7.1 Suggestions dropdown, plugin screenshots. Recommended update. 1.7.0 Add to cart from search results, variation support, consistent admin UI redesign, and multiple bug fixes. Recommended update for all users. 1.6.0 Major update with full WPML support! Now you can sync content in multiple languages with language-specific filtering. New onboarding wizard makes setup easier than ever. Recommended for all WPML users and new installations. 1.5.0 WordPress content sync support added! Now sync blog posts, pages, and custom post types alongside WooCommerce products. 1.4.0 Performance improvements for large catalogs. Recommended update for all users. 1.3.0 Major performance upgrade! Search is now 3-4x faster with direct API integration. New features: 5 visual templates, list/grid layouts, AJAX add to cart with quantity selectors, and automatic currency detection. Highly recommended update for all users. 1.2.1 Improved content sync with batch processing for large libraries. Recommended for sites with 100+ posts/pages. 1.0.0 Initial release of Contexa AI Search for WooCommerce.

常见问题:

Do I need a Contexa account?

Yes, you need an API key from Contexa.co. A free trial is available.

Will this work with my theme?

Yes, the plugin works with any WordPress theme that supports WooCommerce.

How do I add search to my site?

Use the shortcode [contexa_search] on any page or post.

Does it sync automatically?

Yes, you can enable automatic sync in the settings to keep products updated.

Can I customize the search results display?

Yes! The plugin includes 5 built-in templates and supports custom CSS: Use built-in templates via shortcode:

  • Template 1: Classic Grid (default)
  • Template 2: Minimal Clean
  • Template 3: Card with Shadow
  • Template 4: Modern Bordered
  • Template 5: Colorful Gradient Switch between list and grid layouts:
[contexa_search layout="list"] # Horizontal list layout [contexa_search layout="grid" columns="3"] # Grid layout with 3 columns Add custom CSS to your theme: ```css / Customize list layout / .contexa-products-list .contexa-product-card { padding: 20px; border-bottom: 1px solid #eee; } / Customize grid layout / .contexa-products-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } / Style product cards / .contexa-product-card { border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); } / Customize quantity buttons / .contexa-quantity-selector { border: 2px solid #000; } / Hide elements / .contexa-product-excerpt { display: none; } ``` All search results use standard CSS classes - just add your styles to Appearance → Customize → Additional CSS.

How fast is the search?

The plugin uses direct API integration with client-side rendering for maximum performance:

  • Cached results: ~200ms
  • Uncached results: 1-2 seconds
  • 5-minute session cache for frequently searched terms
  • No server-side WordPress overhead

Does it support autocomplete?

Yes! The plugin includes inline autocomplete suggestions that appear as you type, powered by the Contexa AI engine.

What recommendation types are available?

The plugin includes 5 AI-powered recommendation engines:

  1. Similar Products - [contexa_similar]
  2. Best for: Individual product pages
  3. Use case: Show alternative or related products
  4. Where to place: Below product description, in a separate tab, or sidebar
  5. Example: On a phone product page, show other phone models
  6. Trending Products - [contexa_trending]
  7. Best for: Homepage, category pages, blog sidebar
  8. Use case: Display what's popular right now across your store
  9. Where to place: Homepage featured section, sidebar widgets
  10. Example: "Trending This Week" section on homepage
  11. Personalized - [contexa_personalized]
  12. Best for: Homepage, account/dashboard pages, email campaigns
  13. Use case: AI-personalized recommendations based on visitor behavior
  14. Where to place: Homepage hero section, "Recommended For You" sections
  15. Example: Personalized product suggestions based on browsing history
  16. Frequently Bought Together - [contexa_frequently_together]
  17. Best for: Individual product pages (cross-sell)
  18. Use case: Products commonly purchased together with current product
  19. Where to place: Below "Add to Cart" button or in product tabs
  20. Example: Phone → Phone case, charger, screen protector
  21. Cart-Based - [contexa_cart_based]
  22. Best for: Cart page, checkout page
  23. Use case: Upsell complementary products based on cart contents
  24. Where to place: Bottom of cart page, checkout sidebar
  25. Example: "Complete Your Purchase" section on cart page
All recommendations include AJAX add to cart with quantity selectors for seamless shopping experience.

Where should I place each recommendation shortcode?

Product Pages:

  • [contexa_similar] - Show alternative products
  • [contexa_frequently_together] - Cross-sell complementary items Homepage:
  • [contexa_trending] - Popular products section
  • [contexa_personalized] - Personalized recommendations Cart/Checkout:
  • [contexa_cart_based] - Last-minute upsells Category/Shop Pages:
  • [contexa_trending] - Trending in this category Blog/Content Pages:
  • [contexa_trending] - Related products in sidebar You can add shortcodes via:
  • Page builders (Elementor, Gutenberg blocks)
  • Theme template files (functions.php with hooks)
  • Widget areas (sidebar, footer)
  • Directly in product descriptions

How do I add recommendations to product pages?

Method 1: Using WooCommerce hooks (recommended) Add this to your theme's functions.php: ```php // Add "You May Also Like" below product description add_action('woocommerce_after_single_product_summary', 'add_similar_products', 15); function add_similar_products() { echo do_shortcode('[contexa_similar title="You May Also Like" columns="4" limit="4"]'); } // Add "Frequently Bought Together" below Add to Cart button add_action('woocommerce_after_add_to_cart_form', 'add_frequently_bought', 20); function add_frequently_bought() { echo do_shortcode('[contexa_frequently_together title="Frequently Bought Together" columns="4" limit="3"]'); } ``` Method 2: Using page builders Simply add a Shortcode widget and paste: [contexa_similar] Method 3: Product tabs Add recommendations in a custom WooCommerce product tab for a cleaner layout.

How do I add recommendations to the cart page?

Add this to your theme's functions.php: php add_action('woocommerce_after_cart_table', 'add_cart_recommendations'); function add_cart_recommendations() { echo do_shortcode('[contexa_cart_based title="Complete Your Purchase" columns="4" limit="4"]'); }

Does this work with WPML (multilingual sites)?

Yes! Version 1.6.0 adds full WPML integration: During Setup Wizard:

  • Select which languages to sync (English, Spanish, French, etc.)
  • See content counts filtered by selected languages
  • Only sync the languages you need Language Filtering:
  • Automatically detects post language using WPML
  • Syncs only content in selected languages
  • Each language is indexed separately for accurate search results Example: If you have 950 total posts (305 English, 400 Spanish, 245 French) and select only English:
  • Only 305 English posts will be synced
  • Spanish and French posts are excluded
  • Saves API quota and improves search relevance The wizard guides you through language selection step-by-step. You can go back and change languages at any time.

Does this plugin load external resources?

Yes, the plugin loads the Contexa search SDK from api.contexa.co as part of the Contexa.co service. This is required for the AI search functionality to work. The SDK is loaded automatically on all frontend pages when you have an API key configured.

What data does this plugin collect?

This plugin sends product data, search queries, and visitor interactions to Contexa.co to provide AI-powered search functionality. You can control tracking features in the plugin settings. See the Privacy & Data Collection section below for full details.

更新日志:

1.7.2 1.7.1 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.2.0 1.1.0 1.0.0