woocommerce/plugins/woo-ai
Nima Karimi 01dd039b21
Suggest product categories with AI (#39437)
* Accept arguments for the TinyContent getContent method.

Used to fetch the plain text version of the description.

* Add a class to the loading message content

* Set the max description length as global constant

* Create a MagicButton component and use it

* Get plain text description instead of HTML

* Return full category hierarchy (Parent > Child)

* Add method to return all available categories on the product edit page

* Helper function to generate product data instructions for the prompt

* Helper function to select category checkboxes on DOM

* Create component to display a list of suggestion items as pills

* Add product category suggestions to product edit page

* Use the AI package to get text completion

* Add tracks

* Add changelog

* Fix merge conflict

* Remove NoMatch state for category suggestions

* Get available categories using WC REST API

* Suggest new categories

* Run separate prompts for existing and new category generation

* Fix overflow in suggestion pills

* Don't include existing selected categories in prompt

* Add util to encode html entities

* Exclude "Uncategorized" category from product data

* Allow excluding properties from the product data instructions

* Create category from suggestion if it doesn't exist

* Show suggestions as links instead of pills

* Ask for feedback after suggestion selected

* Decode html entities in available categories results

* Don't encode html entities when comparing available categories

* Change feedback box style

* Suggest only one category

* Remove log

* Show feedback box after generating suggestions

Instead of showing it after a suggestion is selected

* Fix typo
2023-09-12 19:59:26 +03:00
..
assets/images/icons Add initial release of WooAI plugin (#38610) 2023-06-08 13:20:05 -07:00
bin Add initial release of WooAI plugin (#38610) 2023-06-08 13:20:05 -07:00
changelog Suggest product categories with AI (#39437) 2023-09-12 19:59:26 +03:00
includes Add Short Description "Write With AI" Button + Inform about automatic generation (#39805) 2023-09-06 12:36:14 +02:00
src Suggest product categories with AI (#39437) 2023-09-12 19:59:26 +03:00
.distignore Add initial release of WooAI plugin (#38610) 2023-06-08 13:20:05 -07:00
.editorconfig Add initial release of WooAI plugin (#38610) 2023-06-08 13:20:05 -07:00
.eslintignore Add initial release of WooAI plugin (#38610) 2023-06-08 13:20:05 -07:00
.eslintrc Add initial release of WooAI plugin (#38610) 2023-06-08 13:20:05 -07:00
.gitignore Add initial release of WooAI plugin (#38610) 2023-06-08 13:20:05 -07:00
.nvmrc Add initial release of WooAI plugin (#38610) 2023-06-08 13:20:05 -07:00
.prettierrc.js Add initial release of WooAI plugin (#38610) 2023-06-08 13:20:05 -07:00
.travis.yml Add initial release of WooAI plugin (#38610) 2023-06-08 13:20:05 -07:00
CHANGELOG.md Release Woo AI plugin v0.2.0 (#39011) 2023-06-29 02:21:33 +03:00
DEVELOPMENT.md Add initial release of WooAI plugin (#38610) 2023-06-08 13:20:05 -07:00
NEXT_CHANGELOG.md Add initial release of WooAI plugin (#38610) 2023-06-08 13:20:05 -07:00
README.md Add initial release of WooAI plugin (#38610) 2023-06-08 13:20:05 -07:00
composer.json Release Woo AI plugin v0.2.0 (#39011) 2023-06-29 02:21:33 +03:00
composer.lock Add Short Description "Write With AI" Button + Inform about automatic generation (#39805) 2023-09-06 12:36:14 +02:00
package.json Add Short Description "Write With AI" Button + Inform about automatic generation (#39805) 2023-09-06 12:36:14 +02:00
tsconfig.json Add initial release of WooAI plugin (#38610) 2023-06-08 13:20:05 -07:00
webpack.config.js Add Short Description "Write With AI" Button + Inform about automatic generation (#39805) 2023-09-06 12:36:14 +02:00
woo-ai.php Adding basic Woo AI settings screen (#38920) 2023-07-12 17:12:03 -07:00

README.md

Woo AI

Woo AI is a WooCommerce plugin that utilizes the power of artificial intelligence to enhance your eCommerce experience. With features like AI-powered product title optimization and automated product description generation, Woo AI is designed to boost your store's efficiency and sales potential.

Installation

  1. Download the Woo AI plugin zip file.
  2. Go to your WordPress Dashboard, then navigate to Plugins > Add New > Upload Plugin.
  3. Select the downloaded Woo AI zip file to upload.
  4. After uploading, click on Activate Plugin.

Usage

Improve Product Titles using AI Recommendations

  1. Go to the WooCommerce Products page.
  2. Select a product and click Edit or Add New to create a new product.
  3. Start typing a product title.
  4. Review and apply AI-generated title recommendations.

Generate Product Descriptions based on existing product data

  1. Go to the WooCommerce Products page.
  2. Select a product and click Edit.
  3. Make sure the product has a sufficient title length and click on the Write It For Me button.
  4. Review and apply the AI-generated product description.

License

This plugin is licensed under the GPL v3 or later.