angeo/module-openai-product-feed
Composer 安装命令:
composer require angeo/module-openai-product-feed
包简介
OpenAI (ChatGPT) product feed generator for Magento 2. Exports a spec-compliant product feed for all product types: simple, virtual, downloadable, configurable, bundle and grouped.
关键字:
README 文档
README
Generates an OpenAI (ChatGPT) product feed per store view so your Magento catalog can be discovered — and purchased — inside ChatGPT.
The exported CSV is compliant with the OpenAI Product Feed file-upload specification (Stable) and covers all Magento product types: simple, virtual, downloadable, configurable, bundle and grouped.
Features
- Feed columns aligned with the OpenAI Product Feed file-upload specification (Stable):
item_id,is_eligible_search,is_eligible_checkout,image_url,item_weight_unit,return_deadline_in_days, and more - All Magento product types: simple, virtual, downloadable, configurable, bundle, grouped
- Configurable products exported as parent listing + child variant rows (
group_id,variant_dict,item_group_title) - Grouped products linked via
related_product_id/relationship_type - Digital goods flagged with
is_digital - Fault-tolerant generation: failing products are logged and skipped, never abort the run
- Dedicated log file:
var/log/angeo_openai_feed.log - Optional attributes (media gallery, reviews, Q&A)
- Test coverage
Requirements
- PHP >= 8.1
- Magento 2.4.x (Open Source or Adobe Commerce)
Installation
You can install this module as a Composer package.
composer require angeo/module-openai-product-feed- Run
bin/magento setup:upgrade
As a module
- Download latest release files and extract them under
app/code/Angeo/OpenAiProductFeed - Run
bin/magento setup:upgrade
Upgrading from 1.x
Version 2.0.0 is a breaking release. Feed columns were renamed to match the OpenAI
specification (item_id, is_eligible_search, is_eligible_checkout, image_url,
item_weight_unit, return_deadline_in_days, …) and ProductMapperInterface::map()
now returns a list of rows. See CHANGELOG.md for the full list.
No data migration is needed: the enable_search / enable_checkout product
attributes are unchanged — only the exported column names differ.
Configuration
You can find the module's configuration under Stores -> Settings -> Configuration -> Angeo:
seller identity (name, URL, privacy policy, terms of service) and return policy
(URL, return window in days). Per the OpenAI specification, seller_privacy_policy
and seller_tos are required when checkout is enabled for a product.
Two product attributes control per-product eligibility (found in the "OpenAI Configurations" attribute group):
- Enable Search → exported as
is_eligible_search - Enable Checkout → exported as
is_eligible_checkout(automatically forced tofalsein the feed when search is not enabled, per the specification)
Product Feed
To generate the product feeds manually, use the angeo:product-feed:generate Magento command:
bin/magento angeo:product-feed:generate
A cron job (angeo_generate_openai_feed) also runs daily at 02:00.
Output file path, relative to the var directory: var/angeo/openai_feed/<store_code>.csv
Skipped products and per-store summaries are written to var/log/angeo_openai_feed.log.
Product type handling
| Type | Behavior |
|---|---|
| Simple | One row |
| Virtual / Downloadable | One row, is_digital=true, no weight |
| Configurable | Parent row (listing_has_variations=true) + one row per enabled child with group_id, item_group_title and JSON variant_dict |
| Grouped | One row, minimal price, children listed in related_product_id with relationship_type=part_of_set |
| Bundle | One row, minimal ("from") price for dynamic bundles, fixed price otherwise |
Contributing
Found a bug, have a feature suggestion or just want to help in general? Contributions are very welcome! Check out the list of active issues or submit one yourself.
Need help with agentic commerce for Magento? Professional support, AEO audits and implementation at angeo.dev. Check how your store looks to AI agents with the free scanner at api.angeo.dev.
Questions? Contact me at info@angeo.dev
angeo/module-openai-product-feed 适用场景与选型建议
angeo/module-openai-product-feed 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 49 次下载、GitHub Stars 达 3, 最近一次更新时间为 2025 年 10 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「product feed」 「magento2」 「aeo」 「product sync」 「magento module」 「openai」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 angeo/module-openai-product-feed 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 angeo/module-openai-product-feed 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 angeo/module-openai-product-feed 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Russian Language Pack for Magento 2
DPD Magento2 Shipping extension
Simple RSS generator library for PHP 5.5 or later. clone from Bhaktaraz Bhatta ttps://github.com/bhaktaraz/php-rss-generator
Display your categories and products on front end of your website
Product catalog for your Symfony2 applications.
Auto generate related products for Magento 2
统计信息
- 总下载量: 49
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 23
- 依赖项目数: 1
- 推荐数: 2
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-13