AI (GPT) Convenient Blog
Adds a convenient, modern JS content editor. Generates an article, images. Allows you to embed products in an article.
AI (GPT) Convenient Blog: instruction
Installation
Install the add-on using standard CS-Cart tools via Add-ons → Manage add-ons. During installation, migrations are executed (tables ms_best_blog_likes, ms_best_blog_link_products are created, and columns are added to pages and page_descriptions).
Initial setup
- Open Add-ons → Manage add-ons → AI (GPT) Convenient Blog.
- In the Blog section, set the Default root category ID — choose the parent page for blog articles (via the pages picker).
- Enable the required options:
- Products — link products to an article and display linked articles on the product page.
- Blog — likes, views, subtitle.
- Profile — storefront article editor (for the customer account area).
- Tools — Editor.js tools (header, delimiter, paragraph, embed, image, etc.).
Creating articles in the admin panel
- Go to Website → Pages.
- Create a new page or open an existing one.
- Set the page type to “Blog”.
- Fill in:
- Title — the article title.
- Subtitle — if the option is enabled.
- AI assistant — enter a prompt and click “Write an article” to generate content with AI. If needed, enable “Consider products in the article” and choose products.
- Article of the day — enable the checkbox to mark the article as the “article of the day”.
- Products — if enabled, link products to the article via the picker.
- Cover — upload an article cover image.
- Save the page.
Storefront editor
When the “Storefront article editor” option is enabled:
- A “My articles” menu item appears in the customer account area (
best_blog.all_articles). - Customers can:
- view their articles list;
- create a new article (
best_blog.write); - edit an existing article;
- delete their articles.
- Articles are stored with
blog_user_idand the root category from the add-on settings.
“Product in Article of the Day” block
- Go to Design → Layouts.
- Add the “Product in Article of the Day” block (from the blog section).
- The block displays products linked to the article marked as the “article of the day”.
Verification
- Create a “Blog” page with a cover and content.
- Open the article on the storefront and verify the cover, likes, and views (if enabled).
- Link products to the article and open the product page — make sure the article is displayed (if enabled).
- Mark an article as the “article of the day”, add the “Product in Article of the Day” block to a page, and verify that products are displayed.
Maintenance
Update
Update the add-on via Add-ons → Upgrade center or via the add-on git repository.
Removal
Remove the add-on via Add-ons → Manage add-ons. Tables and data created by migrations can be removed manually if needed.