torqit/store-syndicator-bundle
最新稳定版本:v0.1.11
Composer 安装命令:
composer require torqit/store-syndicator-bundle
包简介
README 文档
README
Exports Pimcore objects into e-commerce storefronts such as Shopify.
Currently, this bundle is designed to work only with a Shopify store, but could be expanded in the future to support other e-commerce frameworks.
Installation:
- Run
composer require torqit/store-syndicator-bundlein your project's terminal. - In the same terminal, run
bin/console pimcore:bundle:enable StoreSyndicatorBundle - Then run
bin/console pimcore:bundle:install StoreSyndicatorBundle
Setting up an export:
- Create a new "TorqStoreExporterShopifyCredentials" Data Object with your Shopify store's credentials.
- Create a new "Store Exporter" item in the Pimcore Datahub.
- In your created Store Exporter, under the API Access tab, drag in your credentials object created in step 1.
- Under the Choose Products tab
- Under BaseClass choose the Data Object class you will be exporting
- Under "Product Query Qhere Clause" you can write the SQL where clause for the pimcore object listing for the export.
Some examples include:
o_path LIKE "your products folder path"for path based exportsfieldName = valuefor object field based export
- In the Map Attributes tab, fill in the table with the appropriate details:
- The "local field" column refers to the field on your Pimcore Data Object class to export
- The "field type" column refers to the store field type
- The "remote field" column refers to the field in your store
- Check the "map on" checkbox for any fields that should be unique on all exported variants
Running an export:
In a terminal, run the command bin/console torq:push-to-shopify "your-store-name". If you expect this export to take longer than a few minutes (or you are exporting more than a few thousand variants), wrap the command with nohup as follows to ensure the process continues running if your terminal session ends unexpectedly: nohup bin/console torq:push-to-shopify "your-store-name" &.
Viewing Results:
The tab labeled "Execution", in a Store Exporter datahub config, contains a table of logs. This table will show any files or responses returned from API calls made while exporting your products, as well as any errors that shopify returns.
统计信息
- 总下载量: 128
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-04-10