{"id":279737,"date":"2026-02-06T12:05:35","date_gmt":"2026-02-06T12:05:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/contexa-ai-search\/"},"modified":"2026-04-03T14:13:37","modified_gmt":"2026-04-03T14:13:37","slug":"contexa-ai-search","status":"publish","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/contexa-ai-search\/","author":23447780,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.7.2","stable_tag":"1.7.2","tested":"6.9.4","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Contexa AI Search","header_author":"Contexa","header_description":"Seamlessly export WooCommerce product data and integrate AI-powered search with Contexa.co.","assets_banners_color":"3b3973","last_updated":"2026-04-03 14:13:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/contexa.co","rating":0,"author_block_rating":0,"active_installs":0,"downloads":476,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"contexa","date":"2026-02-06 12:07:35"},"1.1.0":{"tag":"1.1.0","author":"contexa","date":"2026-02-18 19:32:24"},"1.2.0":{"tag":"1.2.0","author":"contexa","date":"2026-02-20 10:31:27"},"1.2.1":{"tag":"1.2.1","author":"contexa","date":"2026-02-20 18:29:52"},"1.3.0":{"tag":"1.3.0","author":"contexa","date":"2026-02-21 08:40:44"},"1.4.0":{"tag":"1.4.0","author":"contexa","date":"2026-02-21 15:14:34"},"1.5.0":{"tag":"1.5.0","author":"contexa","date":"2026-02-21 16:26:53"},"1.6.0":{"tag":"1.6.0","author":"contexa","date":"2026-03-01 15:56:21"},"1.7.0":{"tag":"1.7.0","author":"contexa","date":"2026-04-03 10:34:43"},"1.7.1":{"tag":"1.7.1","author":"contexa","date":"2026-04-03 10:34:43"},"1.7.2":{"tag":"1.7.2","author":"contexa","date":"2026-04-03 14:13:37"}},"upgrade_notice":{"1.7.2":"<p>Direct API calls from frontend for faster search and tracking. Recommended update.<\/p>","1.7.1":"<p>Suggestions dropdown, plugin screenshots. Recommended update.<\/p>","1.7.0":"<p>Add to cart from search results, variation support, consistent admin UI redesign, and multiple bug fixes. Recommended update for all users.<\/p>","1.6.0":"<p>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.<\/p>","1.5.0":"<p>WordPress content sync support added! Now sync blog posts, pages, and custom post types alongside WooCommerce products.<\/p>","1.4.0":"<p>Performance improvements for large catalogs. Recommended update for all users.<\/p>","1.3.0":"<p>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.<\/p>","1.2.1":"<p>Improved content sync with batch processing for large libraries. Recommended for sites with 100+ posts\/pages.<\/p>","1.0.0":"<p>Initial release of Contexa AI Search for WooCommerce.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":3455349,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":3455349,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3455349,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3455349,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.2.0","1.2.1","1.3.0","1.4.0","1.5.0","1.6.0","1.7.0","1.7.1","1.7.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3498126,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3498126,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3498126,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3498126,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3498126,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"AI-powered search with instant autocomplete suggestions","2":"Search results in grid and list layouts with multiple templates","3":"Smart product recommendations with AJAX add to cart","4":"Simple admin settings \u2014 enter API key and you're ready","5":"Product sync dashboard with progress tracking"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[220145,2109,3226,5183,5184],"plugin_category":[45,53],"plugin_contributors":[255341],"plugin_business_model":[],"class_list":["post-279737","plugin","type-plugin","status-publish","hentry","plugin_tags-ai-search","plugin_tags-ajax-search","plugin_tags-autocomplete","plugin_tags-product-search","plugin_tags-woocommerce-search","plugin_category-ecommerce","plugin_category-ratings-and-reviews","plugin_contributors-contexa","plugin_committers-contexa"],"banners":{"banner":"https:\/\/ps.w.org\/contexa-ai-search\/assets\/banner-772x250.jpg?rev=3455349","banner_2x":"https:\/\/ps.w.org\/contexa-ai-search\/assets\/banner-1544x500.jpg?rev=3455349","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/contexa-ai-search\/assets\/icon-128x128.jpg?rev=3455349","icon_2x":"https:\/\/ps.w.org\/contexa-ai-search\/assets\/icon-256x256.jpg?rev=3455349","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/contexa-ai-search\/assets\/screenshot-1.png?rev=3498126","caption":"AI-powered search with instant autocomplete suggestions"},{"src":"https:\/\/ps.w.org\/contexa-ai-search\/assets\/screenshot-2.png?rev=3498126","caption":"Search results in grid and list layouts with multiple templates"},{"src":"https:\/\/ps.w.org\/contexa-ai-search\/assets\/screenshot-3.png?rev=3498126","caption":"Smart product recommendations with AJAX add to cart"},{"src":"https:\/\/ps.w.org\/contexa-ai-search\/assets\/screenshot-4.png?rev=3498126","caption":"Simple admin settings \u2014 enter API key and you're ready"},{"src":"https:\/\/ps.w.org\/contexa-ai-search\/assets\/screenshot-5.png?rev=3498126","caption":"Product sync dashboard with progress tracking"}],"raw_content":"<!--section=description-->\n<h4>WooCommerce's Default Search Costs You Sales<\/h4>\n\n<p>Your customers search for \"blue running shoes\" and get irrelevant results. They search \"iphne case\" with a typo and get nothing. <strong>80% of shoppers leave after a bad search experience<\/strong> \u2014 and WooCommerce's built-in search only matches exact title keywords.<\/p>\n\n<p>Contexa fixes this. It understands what your customers <em>mean<\/em>, not just what they type.<\/p>\n\n<h4>How Contexa Is Different<\/h4>\n\n<ul>\n<li><strong>AI-Powered Semantic Search<\/strong> \u2014 Understands intent, not just keywords. \"Laptop bag\" finds \"notebook carrying case\" too<\/li>\n<li><strong>Typo Tolerance<\/strong> \u2014 \"snekers\" still finds sneakers. Works across 100+ languages including Hebrew, Arabic, and English<\/li>\n<li><strong>Instant Autocomplete<\/strong> \u2014 Suggestions appear as customers type, based on your store's actual search history<\/li>\n<li><strong>Sub-2-Second Results<\/strong> \u2014 Direct API with client-side rendering. No server load on your WordPress hosting<\/li>\n<li><strong>5 Recommendation Engines<\/strong> \u2014 Similar products, trending, personalized, frequently bought together, and cart-based upsells<\/li>\n<li><strong>AJAX Add to Cart<\/strong> \u2014 Customers add to cart without page refresh, with quantity selectors<\/li>\n<li><strong>5 Visual Templates<\/strong> \u2014 Classic, minimal, shadow, bordered, and gradient styles in list or grid layouts<\/li>\n<li><strong>WooCommerce Native<\/strong> \u2014 Automatic currency detection, stock status, and product sync<\/li>\n<li><strong>WPML Support<\/strong> \u2014 Full multilingual search with language-specific content sync<\/li>\n<li><strong>Content Search<\/strong> \u2014 Search blog posts, pages, and custom post types alongside products<\/li>\n<li><strong>Order Tracking<\/strong> \u2014 Track which searches lead to purchases. See your search-driven revenue<\/li>\n<li><strong>Easy Setup<\/strong> \u2014 Install, enter API key, sync products. Working search in under 5 minutes<\/li>\n<\/ul>\n\n<h4>Search Shortcode<\/h4>\n\n<p>Add AI search to any page:\n    [contexa_search layout=\"list\" columns=\"4\" show_description=\"yes\" show_price=\"yes\" results_per_page=\"12\" template=\"1\"]<\/p>\n\n<p><strong>Available options:<\/strong>\n- <code>placeholder<\/code> - Search input placeholder text (default: \"Search for products...\")\n- <code>button_text<\/code> - Search button text (default: \"Search\")\n- <code>layout<\/code> - Display layout: list or grid (default: list)\n- <code>columns<\/code> - Number of grid columns when layout=\"grid\" (default: 4)\n- <code>show_price<\/code> - Display product prices: yes\/no (default: yes)\n- <code>show_description<\/code> - Display product descriptions: yes\/no (default: yes)\n- <code>results_per_page<\/code> - Maximum results to display (default: 12)\n- <code>template<\/code> - Visual template style 1-5 (default: 1)<\/p>\n\n<p><strong>Template Styles:<\/strong>\n1. <strong>Classic Grid<\/strong> (default) - Traditional cards with hover lift effect\n2. <strong>Minimal Clean<\/strong> - Borderless design with subtle hover backgrounds\n3. <strong>Card with Shadow<\/strong> - Rounded cards with elegant shadow effects\n4. <strong>Modern Bordered<\/strong> - Bold black borders with inverted hover state\n5. <strong>Colorful Gradient<\/strong> - Purple gradient background with white text<\/p>\n\n<p><strong>Examples:<\/strong>\n    `<\/p>\n\nBasic search (list layout, default template)\n\n<p>[contexa_search]<\/p>\n\nList layout with classic template\n\n<p>[contexa_search layout=\"list\" template=\"1\"]<\/p>\n\nGrid layout with 3 columns and minimal template\n\n<p>[contexa_search layout=\"grid\" columns=\"3\" template=\"2\"]<\/p>\n\nGrid with modern bordered template, no descriptions\n\n<p>[contexa_search layout=\"grid\" template=\"4\" show_description=\"no\"]<\/p>\n\nList with colorful gradient template and 20 results\n\n<p>[contexa_search layout=\"list\" template=\"5\" results_per_page=\"20\"]<\/p>\n\nCustom placeholder and button text\n\n<p>[contexa_search placeholder=\"What are you looking for?\" button_text=\"Find Products\"]\n    `<\/p>\n\n<h4>Recommendations Shortcodes<\/h4>\n\n<p>Display smart product recommendations with AJAX add to cart functionality:<\/p>\n\n<p><strong>Similar Products<\/strong> (product page recommendations):\n    [contexa_similar product_id=\"123\" title=\"You May Also Like\" columns=\"4\" limit=\"8\"]<\/p>\n\n<p><strong>Trending Products<\/strong>:\n    [contexa_trending title=\"Trending Now\" columns=\"4\" limit=\"8\"]<\/p>\n\n<p><strong>Personalized Recommendations<\/strong> (based on visitor behavior):\n    [contexa_personalized title=\"Recommended For You\" columns=\"4\" limit=\"8\"]<\/p>\n\n<p><strong>Frequently Bought Together<\/strong>:\n    [contexa_frequently_together product_id=\"123\" title=\"Frequently Bought Together\" columns=\"4\" limit=\"4\"]<\/p>\n\n<p><strong>Cart-Based Recommendations<\/strong>:\n    [contexa_cart_based title=\"Complete Your Purchase\" columns=\"4\" limit=\"4\"]<\/p>\n\n<p>All recommendation shortcodes include:\n- AJAX add to cart with +\/- quantity selectors\n- Click tracking for analytics\n- Automatic stock status detection\n- Responsive grid layouts<\/p>\n\n<p><strong>Available parameters:<\/strong>\n- <code>title<\/code> - Section heading (optional)\n- <code>columns<\/code> - Number of columns for grid display (default: 4)\n- <code>limit<\/code> - Maximum number of products to display (default: 8)\n- <code>show_price<\/code> - Display product prices: yes\/no (default: yes)\n- <code>show_add_to_cart<\/code> - Display add to cart with quantity selector: yes\/no (default: yes)<\/p>\n\n<h4>Requirements<\/h4>\n\n<ul>\n<li>WooCommerce 5.0 or higher<\/li>\n<li>A Contexa.co API key (free trial available)<\/li>\n<\/ul>\n\n<h3>Privacy &amp; Data Collection<\/h3>\n\n<p>Contexa AI Search connects to external Contexa.co services to provide AI-powered search and recommendations. By using this plugin, you acknowledge that data will be sent to Contexa.co for processing.<\/p>\n\n<h4>Third-Party Service<\/h4>\n\n<ul>\n<li><strong>Service<\/strong>: Contexa.co - AI Search Platform<\/li>\n<li><strong>Service URL<\/strong>: https:\/\/contexa.co<\/li>\n<li><strong>API Endpoint<\/strong>: https:\/\/api.contexa.co<\/li>\n<li><strong>SDK URL<\/strong>: https:\/\/api.contexa.co\/sdk\/contexa-sdk.js<\/li>\n<li><strong>Terms of Service<\/strong>: https:\/\/contexa.co\/terms-of-service<\/li>\n<li><strong>Privacy Policy<\/strong>: https:\/\/contexa.co\/privacy-policy<\/li>\n<\/ul>\n\n<h4>Data Sent to Contexa.co<\/h4>\n\n<p><strong>Product Catalog Data<\/strong> (sent during sync):\n* Product names, descriptions, and excerpts\n* Product prices, SKUs, and categories\n* Product images and URLs\n* Product tags and attributes\n* Blog posts and pages (if Content Sync is enabled)<\/p>\n\n<p><strong>Search &amp; Interaction Data<\/strong> (sent during usage):\n* Search queries entered by visitors\n* Search results clicked by visitors\n* Products added to cart\n* Products removed from cart\n* Completed orders (product IDs, quantities, prices)<\/p>\n\n<p><strong>Visitor Identification<\/strong>:\n* Anonymous visitor ID (stored in <code>contexa_visitor_id<\/code> cookie)\n* No personally identifiable information (PII) is collected\n* Visitor IDs are used to track behavior across sessions for analytics<\/p>\n\n<h4>User Controls<\/h4>\n\n<ul>\n<li><strong>Tracking Consent<\/strong>: You can enable\/disable visitor tracking in plugin settings<\/li>\n<li><strong>Content Sync<\/strong>: You can choose which post types to sync (posts, pages, custom types)<\/li>\n<li><strong>Auto Sync<\/strong>: You can disable automatic product synchronization<\/li>\n<li><strong>Cookie Notice<\/strong>: We recommend adding a cookie consent notice to your site<\/li>\n<\/ul>\n\n<h4>External Resources Loaded<\/h4>\n\n<p>This plugin loads the Contexa search SDK JavaScript from api.contexa.co\/sdk\/contexa-sdk.js on all frontend pages when an API key is configured. This SDK is part of the Contexa.co service and required for AI search functionality.<\/p>\n\n<h4>Data Retention<\/h4>\n\n<p>Data sent to Contexa.co is retained according to Contexa's privacy policy. You can request data deletion by contacting Contexa support.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/contexa-ai-search\/<\/code> directory, or install through WordPress plugins screen<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Get your API key from <a href=\"https:\/\/contexa.co\">Contexa.co<\/a><\/li>\n<li>Navigate to Contexa menu in WordPress admin<\/li>\n<li>Enter your API key in the settings<\/li>\n<li>Sync your products<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20a%20contexa%20account%3F\"><h3>Do I need a Contexa account?<\/h3><\/dt>\n<dd><p>Yes, you need an API key from Contexa.co. A free trial is available.<\/p><\/dd>\n<dt id=\"will%20this%20work%20with%20my%20theme%3F\"><h3>Will this work with my theme?<\/h3><\/dt>\n<dd><p>Yes, the plugin works with any WordPress theme that supports WooCommerce.<\/p><\/dd>\n<dt id=\"how%20do%20i%20add%20search%20to%20my%20site%3F\"><h3>How do I add search to my site?<\/h3><\/dt>\n<dd><p>Use the shortcode <code>[contexa_search]<\/code> on any page or post.<\/p><\/dd>\n<dt id=\"does%20it%20sync%20automatically%3F\"><h3>Does it sync automatically?<\/h3><\/dt>\n<dd><p>Yes, you can enable automatic sync in the settings to keep products updated.<\/p><\/dd>\n<dt id=\"can%20i%20customize%20the%20search%20results%20display%3F\"><h3>Can I customize the search results display?<\/h3><\/dt>\n<dd><p>Yes! The plugin includes 5 built-in templates and supports custom CSS:<\/p>\n\n<p><strong>Use built-in templates via shortcode:<\/strong>\n- Template 1: Classic Grid (default)\n- Template 2: Minimal Clean\n- Template 3: Card with Shadow\n- Template 4: Modern Bordered\n- Template 5: Colorful Gradient<\/p>\n\n<p><strong>Switch between list and grid layouts:<\/strong>\n    <code>[contexa_search layout=\"list\"]   # Horizontal list layout\n[contexa_search layout=\"grid\" columns=\"3\"]   # Grid layout with 3 columns<\/code><\/p>\n\n<p><strong>Add custom CSS to your theme:<\/strong><\/p>\n\n<pre><code>`css\n<\/code><\/pre>\n\n<p>\/* Customize list layout *\/\n.contexa-products-list .contexa-product-card {\n    padding: 20px;\n    border-bottom: 1px solid #eee;\n}<\/p>\n\n<p>\/* Customize grid layout *\/\n.contexa-products-grid {\n    grid-template-columns: repeat(3, 1fr);\n    gap: 30px;\n}<\/p>\n\n<p>\/* Style product cards *\/\n.contexa-product-card {\n    border-radius: 10px;\n    box-shadow: 0 2px 8px rgba(0,0,0,0.1);\n}<\/p>\n\n<p>\/* Customize quantity buttons *\/\n.contexa-quantity-selector {\n    border: 2px solid #000;\n}<\/p>\n\n<p>\/* Hide elements *\/\n.contexa-product-excerpt { display: none; }\n    `<\/p>\n\n<p>All search results use standard CSS classes - just add your styles to Appearance \u2192 Customize \u2192 Additional CSS.<\/p><\/dd>\n<dt id=\"how%20fast%20is%20the%20search%3F\"><h3>How fast is the search?<\/h3><\/dt>\n<dd><p>The plugin uses direct API integration with client-side rendering for maximum performance:\n- Cached results: ~200ms\n- Uncached results: 1-2 seconds\n- 5-minute session cache for frequently searched terms\n- No server-side WordPress overhead<\/p><\/dd>\n<dt id=\"does%20it%20support%20autocomplete%3F\"><h3>Does it support autocomplete?<\/h3><\/dt>\n<dd><p>Yes! The plugin includes inline autocomplete suggestions that appear as you type, powered by the Contexa AI engine.<\/p><\/dd>\n<dt id=\"what%20recommendation%20types%20are%20available%3F\"><h3>What recommendation types are available?<\/h3><\/dt>\n<dd><p>The plugin includes 5 AI-powered recommendation engines:<\/p>\n\n<ol>\n<li><p><strong>Similar Products<\/strong> - <code>[contexa_similar]<\/code><\/p>\n\n<ul>\n<li><strong>Best for:<\/strong> Individual product pages<\/li>\n<li><strong>Use case:<\/strong> Show alternative or related products<\/li>\n<li><strong>Where to place:<\/strong> Below product description, in a separate tab, or sidebar<\/li>\n<li><strong>Example:<\/strong> On a phone product page, show other phone models<\/li>\n<\/ul><\/li>\n<li><p><strong>Trending Products<\/strong> - <code>[contexa_trending]<\/code><\/p>\n\n<ul>\n<li><strong>Best for:<\/strong> Homepage, category pages, blog sidebar<\/li>\n<li><strong>Use case:<\/strong> Display what's popular right now across your store<\/li>\n<li><strong>Where to place:<\/strong> Homepage featured section, sidebar widgets<\/li>\n<li><strong>Example:<\/strong> \"Trending This Week\" section on homepage<\/li>\n<\/ul><\/li>\n<li><p><strong>Personalized<\/strong> - <code>[contexa_personalized]<\/code><\/p>\n\n<ul>\n<li><strong>Best for:<\/strong> Homepage, account\/dashboard pages, email campaigns<\/li>\n<li><strong>Use case:<\/strong> AI-personalized recommendations based on visitor behavior<\/li>\n<li><strong>Where to place:<\/strong> Homepage hero section, \"Recommended For You\" sections<\/li>\n<li><strong>Example:<\/strong> Personalized product suggestions based on browsing history<\/li>\n<\/ul><\/li>\n<li><p><strong>Frequently Bought Together<\/strong> - <code>[contexa_frequently_together]<\/code><\/p>\n\n<ul>\n<li><strong>Best for:<\/strong> Individual product pages (cross-sell)<\/li>\n<li><strong>Use case:<\/strong> Products commonly purchased together with current product<\/li>\n<li><strong>Where to place:<\/strong> Below \"Add to Cart\" button or in product tabs<\/li>\n<li><strong>Example:<\/strong> Phone \u2192 Phone case, charger, screen protector<\/li>\n<\/ul><\/li>\n<li><p><strong>Cart-Based<\/strong> - <code>[contexa_cart_based]<\/code><\/p>\n\n<ul>\n<li><strong>Best for:<\/strong> Cart page, checkout page<\/li>\n<li><strong>Use case:<\/strong> Upsell complementary products based on cart contents<\/li>\n<li><strong>Where to place:<\/strong> Bottom of cart page, checkout sidebar<\/li>\n<li><strong>Example:<\/strong> \"Complete Your Purchase\" section on cart page<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<p>All recommendations include AJAX add to cart with quantity selectors for seamless shopping experience.<\/p><\/dd>\n<dt id=\"where%20should%20i%20place%20each%20recommendation%20shortcode%3F\"><h3>Where should I place each recommendation shortcode?<\/h3><\/dt>\n<dd><p><strong>Product Pages:<\/strong>\n- <code>[contexa_similar]<\/code> - Show alternative products\n- <code>[contexa_frequently_together]<\/code> - Cross-sell complementary items<\/p>\n\n<p><strong>Homepage:<\/strong>\n- <code>[contexa_trending]<\/code> - Popular products section\n- <code>[contexa_personalized]<\/code> - Personalized recommendations<\/p>\n\n<p><strong>Cart\/Checkout:<\/strong>\n- <code>[contexa_cart_based]<\/code> - Last-minute upsells<\/p>\n\n<p><strong>Category\/Shop Pages:<\/strong>\n- <code>[contexa_trending]<\/code> - Trending in this category<\/p>\n\n<p><strong>Blog\/Content Pages:<\/strong>\n- <code>[contexa_trending]<\/code> - Related products in sidebar<\/p>\n\n<p>You can add shortcodes via:\n- Page builders (Elementor, Gutenberg blocks)\n- Theme template files (functions.php with hooks)\n- Widget areas (sidebar, footer)\n- Directly in product descriptions<\/p><\/dd>\n<dt id=\"how%20do%20i%20add%20recommendations%20to%20product%20pages%3F\"><h3>How do I add recommendations to product pages?<\/h3><\/dt>\n<dd><p><strong>Method 1: Using WooCommerce hooks (recommended)<\/strong>\nAdd this to your theme's functions.php:<\/p>\n\n<pre><code>`php\n<\/code><\/pre>\n\n<p>\/\/ Add \"You May Also Like\" below product description\nadd_action('woocommerce_after_single_product_summary', 'add_similar_products', 15);\nfunction add_similar_products() {\n    echo do_shortcode('[contexa_similar title=\"You May Also Like\" columns=\"4\" limit=\"4\"]');\n}<\/p>\n\n<p>\/\/ Add \"Frequently Bought Together\" below Add to Cart button\nadd_action('woocommerce_after_add_to_cart_form', 'add_frequently_bought', 20);\nfunction add_frequently_bought() {\n    echo do_shortcode('[contexa_frequently_together title=\"Frequently Bought Together\" columns=\"4\" limit=\"3\"]');\n}\n    `<\/p>\n\n<p><strong>Method 2: Using page builders<\/strong>\nSimply add a Shortcode widget and paste: <code>[contexa_similar]<\/code><\/p>\n\n<p><strong>Method 3: Product tabs<\/strong>\nAdd recommendations in a custom WooCommerce product tab for a cleaner layout.<\/p><\/dd>\n<dt id=\"how%20do%20i%20add%20recommendations%20to%20the%20cart%20page%3F\"><h3>How do I add recommendations to the cart page?<\/h3><\/dt>\n<dd><p>Add this to your theme's functions.php:<\/p>\n\n<pre><code>`php\n<\/code><\/pre>\n\n<p>add_action('woocommerce_after_cart_table', 'add_cart_recommendations');\nfunction add_cart_recommendations() {\n    echo do_shortcode('[contexa_cart_based title=\"Complete Your Purchase\" columns=\"4\" limit=\"4\"]');\n}\n    `<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20wpml%20%28multilingual%20sites%29%3F\"><h3>Does this work with WPML (multilingual sites)?<\/h3><\/dt>\n<dd><p>Yes! Version 1.6.0 adds full WPML integration:<\/p>\n\n<p><strong>During Setup Wizard:<\/strong>\n- Select which languages to sync (English, Spanish, French, etc.)\n- See content counts filtered by selected languages\n- Only sync the languages you need<\/p>\n\n<p><strong>Language Filtering:<\/strong>\n- Automatically detects post language using WPML\n- Syncs only content in selected languages\n- Each language is indexed separately for accurate search results<\/p>\n\n<p><strong>Example:<\/strong>\nIf you have 950 total posts (305 English, 400 Spanish, 245 French) and select only English:\n- Only 305 English posts will be synced\n- Spanish and French posts are excluded\n- Saves API quota and improves search relevance<\/p>\n\n<p>The wizard guides you through language selection step-by-step. You can go back and change languages at any time.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20load%20external%20resources%3F\"><h3>Does this plugin load external resources?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"what%20data%20does%20this%20plugin%20collect%3F\"><h3>What data does this plugin collect?<\/h3><\/dt>\n<dd><p>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 &amp; Data Collection section below for full details.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.7.2<\/h4>\n\n<ul>\n<li>Switched search, suggestions, and tracking to call Contexa API directly from frontend<\/li>\n<li>Removed WordPress AJAX proxy for search and suggestions (faster, fewer server round-trips)<\/li>\n<li>Tracking events now use fetch with keepalive instead of sendBeacon via admin-ajax.php<\/li>\n<li>Add-to-cart remains through WooCommerce AJAX for cart session handling<\/li>\n<\/ul>\n\n<h4>1.7.1<\/h4>\n\n<ul>\n<li>Added suggestions dropdown list below search input with bold matching text<\/li>\n<li>Added click-to-search on suggestion selection<\/li>\n<li>Added plugin screenshots for WordPress.org listing<\/li>\n<\/ul>\n\n<h4>1.7.0<\/h4>\n\n<ul>\n<li>Added variation attribute dropdowns in search results for variable products<\/li>\n<li>Added add-to-cart directly from search results using WooCommerce native AJAX<\/li>\n<li>Added add-to-cart event tracking via woocommerce_add_to_cart hook with search context<\/li>\n<li>Added inline error\/success messages for add-to-cart actions<\/li>\n<li>Added platform account credentials display on settings page after onboarding<\/li>\n<li>Added credentials display on wizard completion screen<\/li>\n<li>Fixed add-to-cart for variable products \u2014 resolves matching variation from selected attributes<\/li>\n<li>Fixed duplicate add-to-cart tracking events (removed redundant handler)<\/li>\n<li>Fixed auto-sync checkbox not saving due to boolean sanitize mismatch<\/li>\n<li>Fixed tracking\/logging checkboxes not saving when unchecked<\/li>\n<li>Fixed wizard not loading due to incorrect screen ID checks<\/li>\n<li>Fixed wizard registration error not showing proper message for existing emails<\/li>\n<li>Fixed product count showing 0 on sync page (sprintf %d with HTML string)<\/li>\n<li>Fixed \"Sync Products Now\" button linking to wrong page<\/li>\n<li>Redesigned all admin pages with consistent platform-style UI<\/li>\n<li>Redesigned settings, sync, status, and content sync pages<\/li>\n<li>Added variation dropdown CSS for list and grid layouts<\/li>\n<li>Removed .DS_Store hidden files<\/li>\n<li>Fixed all WordPress i18n translators comment warnings<\/li>\n<li>Fixed template variable prefixing for WordPress coding standards<\/li>\n<\/ul>\n\n<h4>1.6.0<\/h4>\n\n<ul>\n<li>Added full WPML multi-language support with language-specific content sync<\/li>\n<li>Added interactive onboarding wizard with step-by-step setup flow<\/li>\n<li>Added language selection step in wizard for WPML-enabled sites<\/li>\n<li>Added content type selection with language-filtered counts<\/li>\n<li>Added back button navigation between wizard steps<\/li>\n<li>Fixed language filtering to properly sync only selected languages<\/li>\n<li>Fixed API data format for content-upload endpoint<\/li>\n<li>Fixed WP_Error handling in language detection<\/li>\n<li>Improved bulk sync to manually filter posts by language code<\/li>\n<li>Enhanced wizard with health score visualization and progress tracking<\/li>\n<li>Updated settings page with Contexa Dashboard login credentials display<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>Added WordPress content support (posts, pages, custom post types)<\/li>\n<li>Enhanced bulk sync with separate endpoints for WooCommerce and content<\/li>\n<li>Improved API integration with chunking strategy for large content sets<\/li>\n<li>Added content-specific sync status tracking<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Performance improvements for large product catalogs<\/li>\n<li>Enhanced error handling and logging<\/li>\n<li>Updated admin UI with better sync status indicators<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Major performance optimization: Direct API calls with client-side rendering (7+ seconds \u2192 under 2 seconds)<\/li>\n<li>Added 5 visual templates for search results (Classic, Minimal, Shadow, Bordered, Gradient)<\/li>\n<li>Added list vs grid layout toggle with configurable columns<\/li>\n<li>Added AJAX add to cart with +\/- quantity selectors for both search and recommendations<\/li>\n<li>Added 5 recommendation shortcodes (similar, trending, personalized, frequently together, cart-based)<\/li>\n<li>Added automatic WooCommerce currency detection and formatting<\/li>\n<li>Added 5-minute session cache for frequently searched terms<\/li>\n<li>Fixed HTML entity rendering (em-dashes, special characters)<\/li>\n<li>Fixed product ordering to always show products first<\/li>\n<li>Fixed stock status detection for proper in-stock display<\/li>\n<li>Improved success message display for add to cart actions<\/li>\n<li>Enhanced mobile responsiveness for all layouts<\/li>\n<li>Updated recommendations to use same AJAX functionality as search results<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Added post_status field to content sync for proper draft\/unpublished filtering<\/li>\n<li>Improved search API filtering to exclude non-published content<\/li>\n<li>Enhanced backend data consistency<\/li>\n<li>Fixed batch processing for large content libraries (50 items per batch)<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added support for grouped search results by content type (results_by_type)<\/li>\n<li>Updated search API to return both flat results and grouped by post_type<\/li>\n<li>Enhanced backend API integration with new response structure<\/li>\n<li>Improved metadata with per-type result counts<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added inline search suggestions (autocomplete) with ghost text<\/li>\n<li>Added support for WordPress-only sites without WooCommerce (capability fix)<\/li>\n<li>Added content search for blog posts and pages<\/li>\n<li>Improved search results grouped by content type<\/li>\n<li>Fixed capability check to use manage_options when WooCommerce is not active<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Product sync functionality<\/li>\n<li>AI search shortcode<\/li>\n<li>Smart recommendations<\/li>\n<li>Order tracking<\/li>\n<li>Content sync support<\/li>\n<li>Auto-sync capabilities<\/li>\n<\/ul>","raw_excerpt":"AI-powered WooCommerce search with autocomplete, typo tolerance, and smart recommendations.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/279737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=279737"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/contexa"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=279737"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=279737"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=279737"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=279737"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=279737"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=279737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}