├── LICENSE ├── UPGRADE.md ├── composer.json ├── docs └── shopify-hostname.png └── src ├── Plugin.php ├── api └── BulkDataBatcher.php ├── console └── controllers │ ├── DataController.php │ └── SyncController.php ├── controllers ├── ProductsController.php ├── SettingsController.php ├── SyncController.php ├── WebhookController.php └── WebhooksController.php ├── db └── Table.php ├── elements ├── Product.php ├── conditions │ └── products │ │ ├── HandleConditionRule.php │ │ ├── ProductCondition.php │ │ ├── ProductTypeConditionRule.php │ │ ├── ShopifyStatusConditionRule.php │ │ ├── TagsConditionRule.php │ │ └── VendorConditionRule.php └── db │ └── ProductQuery.php ├── enums └── BulkOperationStatus.php ├── events └── ShopifyProductSyncEvent.php ├── feedme └── fields │ └── Products.php ├── fields └── Products.php ├── handlers ├── Product.php └── Webhook.php ├── helpers ├── Metafields.php └── Product.php ├── icon-mask.svg ├── icon.svg ├── jobs └── ProcessBulkOperationData.php ├── linktypes └── Product.php ├── migrations ├── Install.php ├── m221101_045927_update.php ├── m221101_063856_add_meta.php ├── m221215_010047_store_field_layout_in_project_config.php ├── m230118_062557_increase_tag_column_size.php ├── m240402_105857_add_metafields_property_to_variants.php ├── m240826_034149_switch_variant_to_medium_text.php ├── m241218_145031_set_api_version.php ├── m250127_121804_create_shopify_data_table.php ├── m250212_085216_create_bulk_ops_table.php ├── m250212_130001_migrate_product_data_to_data_table.php ├── m250212_134453_create_virtual_columns.php ├── m250212_135301_add_shopify_gid_column_for_products.php ├── m250213_152850_migrate_shopify_gid_column_for_products.php ├── m250217_093044_add_publishedOnCurrentPublication_virtual_column.php ├── m250217_153547_remove_old_product_data_table.php ├── m250225_081123_add_clearData_column_to_bulk_operations.php ├── m250227_090938_fix_products_data_foreign_key.php ├── m250514_130142_add_id_index_to_data_table.php ├── m250527_133823_fix_maria_db_bool_generated_columns.php ├── m250808_100206_update_shopify_product_indexes.php └── m250909_100844_update_shopifyId_index_in_data_table.php ├── models ├── BulkOperation.php └── Settings.php ├── records ├── BulkOperation.php ├── Product.php └── ShopifyData.php ├── services ├── Api.php ├── BulkOperations.php ├── Products.php └── Store.php ├── templates ├── _feedme │ └── fields │ │ └── products.twig ├── _index.twig ├── products │ └── _index.twig ├── settings │ ├── _layout.twig │ └── index.twig ├── utilities │ └── _sync.twig └── webhooks │ └── index.twig ├── translations └── en │ └── shopify.php ├── utilities └── Sync.php └── web ├── assets └── shopifycp │ ├── ShopifyCpAsset.php │ ├── dist │ ├── css │ │ ├── shopifycp.css │ │ └── shopifycp.css.map │ ├── shopifycp.js │ └── shopifycp.js.map │ ├── src │ ├── js │ │ └── shopifycp.js │ ├── scss │ │ └── shopifycp.scss │ └── shopifycp.js │ └── webpack.config.js └── twig └── CraftVariableBehavior.php /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/LICENSE -------------------------------------------------------------------------------- /UPGRADE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/UPGRADE.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/composer.json -------------------------------------------------------------------------------- /docs/shopify-hostname.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/docs/shopify-hostname.png -------------------------------------------------------------------------------- /src/Plugin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/Plugin.php -------------------------------------------------------------------------------- /src/api/BulkDataBatcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/api/BulkDataBatcher.php -------------------------------------------------------------------------------- /src/console/controllers/DataController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/console/controllers/DataController.php -------------------------------------------------------------------------------- /src/console/controllers/SyncController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/console/controllers/SyncController.php -------------------------------------------------------------------------------- /src/controllers/ProductsController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/controllers/ProductsController.php -------------------------------------------------------------------------------- /src/controllers/SettingsController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/controllers/SettingsController.php -------------------------------------------------------------------------------- /src/controllers/SyncController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/controllers/SyncController.php -------------------------------------------------------------------------------- /src/controllers/WebhookController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/controllers/WebhookController.php -------------------------------------------------------------------------------- /src/controllers/WebhooksController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/controllers/WebhooksController.php -------------------------------------------------------------------------------- /src/db/Table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/db/Table.php -------------------------------------------------------------------------------- /src/elements/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/elements/Product.php -------------------------------------------------------------------------------- /src/elements/conditions/products/HandleConditionRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/elements/conditions/products/HandleConditionRule.php -------------------------------------------------------------------------------- /src/elements/conditions/products/ProductCondition.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/elements/conditions/products/ProductCondition.php -------------------------------------------------------------------------------- /src/elements/conditions/products/ProductTypeConditionRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/elements/conditions/products/ProductTypeConditionRule.php -------------------------------------------------------------------------------- /src/elements/conditions/products/ShopifyStatusConditionRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/elements/conditions/products/ShopifyStatusConditionRule.php -------------------------------------------------------------------------------- /src/elements/conditions/products/TagsConditionRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/elements/conditions/products/TagsConditionRule.php -------------------------------------------------------------------------------- /src/elements/conditions/products/VendorConditionRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/elements/conditions/products/VendorConditionRule.php -------------------------------------------------------------------------------- /src/elements/db/ProductQuery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/elements/db/ProductQuery.php -------------------------------------------------------------------------------- /src/enums/BulkOperationStatus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/enums/BulkOperationStatus.php -------------------------------------------------------------------------------- /src/events/ShopifyProductSyncEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/events/ShopifyProductSyncEvent.php -------------------------------------------------------------------------------- /src/feedme/fields/Products.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/feedme/fields/Products.php -------------------------------------------------------------------------------- /src/fields/Products.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/fields/Products.php -------------------------------------------------------------------------------- /src/handlers/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/handlers/Product.php -------------------------------------------------------------------------------- /src/handlers/Webhook.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/handlers/Webhook.php -------------------------------------------------------------------------------- /src/helpers/Metafields.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/helpers/Metafields.php -------------------------------------------------------------------------------- /src/helpers/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/helpers/Product.php -------------------------------------------------------------------------------- /src/icon-mask.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/icon-mask.svg -------------------------------------------------------------------------------- /src/icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/icon.svg -------------------------------------------------------------------------------- /src/jobs/ProcessBulkOperationData.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/jobs/ProcessBulkOperationData.php -------------------------------------------------------------------------------- /src/linktypes/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/linktypes/Product.php -------------------------------------------------------------------------------- /src/migrations/Install.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/Install.php -------------------------------------------------------------------------------- /src/migrations/m221101_045927_update.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m221101_045927_update.php -------------------------------------------------------------------------------- /src/migrations/m221101_063856_add_meta.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m221101_063856_add_meta.php -------------------------------------------------------------------------------- /src/migrations/m221215_010047_store_field_layout_in_project_config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m221215_010047_store_field_layout_in_project_config.php -------------------------------------------------------------------------------- /src/migrations/m230118_062557_increase_tag_column_size.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m230118_062557_increase_tag_column_size.php -------------------------------------------------------------------------------- /src/migrations/m240402_105857_add_metafields_property_to_variants.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m240402_105857_add_metafields_property_to_variants.php -------------------------------------------------------------------------------- /src/migrations/m240826_034149_switch_variant_to_medium_text.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m240826_034149_switch_variant_to_medium_text.php -------------------------------------------------------------------------------- /src/migrations/m241218_145031_set_api_version.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m241218_145031_set_api_version.php -------------------------------------------------------------------------------- /src/migrations/m250127_121804_create_shopify_data_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m250127_121804_create_shopify_data_table.php -------------------------------------------------------------------------------- /src/migrations/m250212_085216_create_bulk_ops_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m250212_085216_create_bulk_ops_table.php -------------------------------------------------------------------------------- /src/migrations/m250212_130001_migrate_product_data_to_data_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m250212_130001_migrate_product_data_to_data_table.php -------------------------------------------------------------------------------- /src/migrations/m250212_134453_create_virtual_columns.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m250212_134453_create_virtual_columns.php -------------------------------------------------------------------------------- /src/migrations/m250212_135301_add_shopify_gid_column_for_products.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m250212_135301_add_shopify_gid_column_for_products.php -------------------------------------------------------------------------------- /src/migrations/m250213_152850_migrate_shopify_gid_column_for_products.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m250213_152850_migrate_shopify_gid_column_for_products.php -------------------------------------------------------------------------------- /src/migrations/m250217_093044_add_publishedOnCurrentPublication_virtual_column.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m250217_093044_add_publishedOnCurrentPublication_virtual_column.php -------------------------------------------------------------------------------- /src/migrations/m250217_153547_remove_old_product_data_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m250217_153547_remove_old_product_data_table.php -------------------------------------------------------------------------------- /src/migrations/m250225_081123_add_clearData_column_to_bulk_operations.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m250225_081123_add_clearData_column_to_bulk_operations.php -------------------------------------------------------------------------------- /src/migrations/m250227_090938_fix_products_data_foreign_key.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m250227_090938_fix_products_data_foreign_key.php -------------------------------------------------------------------------------- /src/migrations/m250514_130142_add_id_index_to_data_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m250514_130142_add_id_index_to_data_table.php -------------------------------------------------------------------------------- /src/migrations/m250527_133823_fix_maria_db_bool_generated_columns.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m250527_133823_fix_maria_db_bool_generated_columns.php -------------------------------------------------------------------------------- /src/migrations/m250808_100206_update_shopify_product_indexes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m250808_100206_update_shopify_product_indexes.php -------------------------------------------------------------------------------- /src/migrations/m250909_100844_update_shopifyId_index_in_data_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/migrations/m250909_100844_update_shopifyId_index_in_data_table.php -------------------------------------------------------------------------------- /src/models/BulkOperation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/models/BulkOperation.php -------------------------------------------------------------------------------- /src/models/Settings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/models/Settings.php -------------------------------------------------------------------------------- /src/records/BulkOperation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/records/BulkOperation.php -------------------------------------------------------------------------------- /src/records/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/records/Product.php -------------------------------------------------------------------------------- /src/records/ShopifyData.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/records/ShopifyData.php -------------------------------------------------------------------------------- /src/services/Api.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/services/Api.php -------------------------------------------------------------------------------- /src/services/BulkOperations.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/services/BulkOperations.php -------------------------------------------------------------------------------- /src/services/Products.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/services/Products.php -------------------------------------------------------------------------------- /src/services/Store.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/services/Store.php -------------------------------------------------------------------------------- /src/templates/_feedme/fields/products.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/templates/_feedme/fields/products.twig -------------------------------------------------------------------------------- /src/templates/_index.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/templates/_index.twig -------------------------------------------------------------------------------- /src/templates/products/_index.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/templates/products/_index.twig -------------------------------------------------------------------------------- /src/templates/settings/_layout.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/templates/settings/_layout.twig -------------------------------------------------------------------------------- /src/templates/settings/index.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/templates/settings/index.twig -------------------------------------------------------------------------------- /src/templates/utilities/_sync.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/templates/utilities/_sync.twig -------------------------------------------------------------------------------- /src/templates/webhooks/index.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/templates/webhooks/index.twig -------------------------------------------------------------------------------- /src/translations/en/shopify.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/translations/en/shopify.php -------------------------------------------------------------------------------- /src/utilities/Sync.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/utilities/Sync.php -------------------------------------------------------------------------------- /src/web/assets/shopifycp/ShopifyCpAsset.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/web/assets/shopifycp/ShopifyCpAsset.php -------------------------------------------------------------------------------- /src/web/assets/shopifycp/dist/css/shopifycp.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/web/assets/shopifycp/dist/css/shopifycp.css -------------------------------------------------------------------------------- /src/web/assets/shopifycp/dist/css/shopifycp.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/web/assets/shopifycp/dist/css/shopifycp.css.map -------------------------------------------------------------------------------- /src/web/assets/shopifycp/dist/shopifycp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/web/assets/shopifycp/dist/shopifycp.js -------------------------------------------------------------------------------- /src/web/assets/shopifycp/dist/shopifycp.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/web/assets/shopifycp/dist/shopifycp.js.map -------------------------------------------------------------------------------- /src/web/assets/shopifycp/src/js/shopifycp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/web/assets/shopifycp/src/js/shopifycp.js -------------------------------------------------------------------------------- /src/web/assets/shopifycp/src/scss/shopifycp.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/web/assets/shopifycp/src/scss/shopifycp.scss -------------------------------------------------------------------------------- /src/web/assets/shopifycp/src/shopifycp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/web/assets/shopifycp/src/shopifycp.js -------------------------------------------------------------------------------- /src/web/assets/shopifycp/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/web/assets/shopifycp/webpack.config.js -------------------------------------------------------------------------------- /src/web/twig/CraftVariableBehavior.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craftcms/shopify/HEAD/src/web/twig/CraftVariableBehavior.php --------------------------------------------------------------------------------