=== SeekGist Search for WooCommerce ===
Contributors: seekgist
Tags: search, product search, arabic, woocommerce, autocomplete
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Arabic-first product search for WooCommerce: typo-tolerant results and live suggestions. Your store's own search stays as the safety net.

== Description ==

**Shoppers find what they want, in Arabic or English.** SeekGist understands Arabic spelling
differences, Arabic and English mixed in one search, typos and model numbers.

**Your theme still shows the products.** The search page URL stays the same. SeekGist picks and
ranks the products; WooCommerce and your theme show their own product cards, so prices, sale
prices and tax display stay right.

**Your store search is the safety net.** If SeekGist is slow (more than 300 ms) or has a problem,
your store's own search answers that search at once. Shoppers never see an error page. One switch
turns SeekGist off.

**Suggestions while typing.** A small suggestion box (no jQuery) that works with the keyboard and
screen readers and shows right-to-left on Arabic pages. Recent searches stay only in the
shopper's browser.

**Know what shoppers search for.** Clicks on results, add-to-cart and orders are counted on your
server and sent in the background, so pages and checkout never wait.

**Products stay in sync.** A product you save is sent at once; a 5-minute schedule sends stock and
other changes; a full sync runs once a day.

**Arabic product names (optional).** Approved SeekGist translations are written into your store
(Polylang, WPML, or product meta). Text a person typed is never replaced.

= Needs a SeekGist account =

This plugin connects your store to the SeekGist service (https://seekgist.com). Your product data
(names, descriptions, prices, stock, categories, attributes, images and links) is sent to SeekGist
to build your search index. Search requests and anonymous events (search id, product id,
position, a random session id) are sent while shoppers search. No names, emails, addresses or
order contents beyond product ids and the order total are sent.
Terms and privacy policy: https://seekgist.com (links to be added before this listing is submitted).

== Installation ==

1. Plugins > Add New Plugin > Upload Plugin, choose the zip, Install Now, Activate.
2. WooCommerce > SeekGist: turn it on, add your public and secret keys, Save settings.
3. Click "Test connection", then "Sync all products now".
4. Optional: a real cron job for a steady schedule (the admin page shows the command).

== Frequently Asked Questions ==

= What happens if SeekGist is down? =

Your store's own WooCommerce search answers, within 300 ms of the request starting. After 5 errors
in 60 seconds SeekGist is skipped for 30 seconds.

= Does it change my search page or product cards? =

No. Same URL, same theme templates. SeekGist only chooses and orders the products.

= Does it work with filters? =

With a layered-navigation filter (price, attribute, rating) or a popularity/rating sort, your
store's own search serves that page.

= Where is the secret key stored? =

In the WordPress options table, or only in wp-config.php if you define SEEKGIST_SECRET_KEY. It is
never shown again in the admin page and never sent to the browser.

== Changelog ==

= 1.0.0 =
* First release: server-side search with 300 ms fallback, suggest box, click/cart/order tracking,
  product sync (hooks + WP-Cron + web cron + WP-CLI), translation write-back, English and Arabic admin.
