torqit / store-syndicator-bundle
Installs: 127
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 3
Type:pimcore-bundle
Requires
- php: ~8.0.0 || ~8.1.0 || ~8.2.0
- ext-fileinfo: *
- ext-json: *
- pimcore/data-hub: ^1.5
- pimcore/pimcore: ^10.5
- shopify/shopify-api: ^4.2
Requires (Dev)
- codeception/codeception: ^4.1.12 || ^5.0.3
- codeception/module-asserts: ^2
- codeception/module-symfony: ^1.6.0 || ^3.1.0
- codeception/phpunit-wrapper: ^9
- phpstan/phpstan: ^1.2
- phpunit/phpunit: ^9.3
- dev-main
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- dev-feat/pimcore-11-upgrade
- dev-feat/choose-local-from-localized-fields
- dev-feat/inventory-quantities
- dev-bugfix/remove-properties-command
- dev-feat/better-error-outputs
- dev-feat/better-error-catching
- dev-feat/linking-command
- dev-bugfix/GR-deployment-fixes
- dev-bugfix/create-variants
- dev-feat/linking-functionality
- dev-feat/creds-object
- dev-feat/comit-log-file
- dev-feature/local-relation-fields
- dev-feat/variant-metafields
- dev-feat/better-attribute-selection
- dev-feat/image-gallery
- dev-feat/Image-attributes
- dev-feature/refactors-one
- dev-feat/basic-execution-script
This package is auto-updated.
Last update: 2025-03-10 14:04:02 UTC
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-bundle
in 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 = value
for 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.