-
Notifications
You must be signed in to change notification settings - Fork 5
How to Install SintraPimcoreBundle
Once you have Installed Pimcore, add the following dependencies to your Pimcore composer.json file
"require": {
"...": "...",
"phpclassic/php-shopify": "v1.0.2",
"springimport/swagger-magento2-client": "*@dev"
},
In order to properly install the SintraPimcoreBundle, follow these steps. The execution order is crucial to get a correct installation.
-
Clone the repository in the src/SintraPimcoreBundle directory in yours Pimcore installation
-
Bulk import the configuration file that you will find inside the Exports/ folder in order to create Classes, FieldCollections and ObjectBricks needed by the SintraPimcoreBundle.
Pimcore < v5.6.0 ----> structure_configuration.json
Pimcore >= v5.6.0 ---> structure_configuration_v5.6.json
CAUTION:
In case that you already have defined a Pimcore class named "Product", export the class configuration in order to re-upload that later. This is necessary because bulk import replace classes definitions if the class name match.
You can achieve this point directly on Pimcore interface selecting: Settings -> Data Objects -> Bulk Import -
Duplicate the Resources/Ecommerce/BaseEcommerceConfig.php.example file and remove the .example extension. Edit the created BaseEcommerceConfig.php file and set your own information. In order to override some SintraPimcoreBundle functionalities, properly set the custom bundle namespace. Check how to Create a New Bundle and How to Customize SintraPimcoreBundle.
-
Enable and Install the SintraPimcoreBundle by the Pimcore Extensions Manager. You can achieve this point directly on Pimcore interface selecting: Tools -> Extensions
Now that you have installed the SintraPimcoreBundle, you are free to customize the "Product" class as you like. Keep in mind that the "sku" field is required by some bundle's functionalities in order to identify a product using a unique key.
Once you have structured your class, you can Configure a TargetServer for Objects Synchronization.