Download the PHP package fabit/sylius-odoo-product-plugin without Composer
On this page you can find all versions of the php package fabit/sylius-odoo-product-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fabit/sylius-odoo-product-plugin
More information about fabit/sylius-odoo-product-plugin
Files in fabit/sylius-odoo-product-plugin
Package sylius-odoo-product-plugin
Short Description Odoo product sync plugin for Sylius applications.
License MIT
Informations about the package sylius-odoo-product-plugin
Fabit Odoo Product Plugin Skeleton
This plugin sync Odoo products into Sylius
Documentation
For a comprehensive guide on Sylius plugin development please go to Sylius documentation, there you will find the Plugin Development Guide, that is full of examples.
Quickstart Installation
-
Create new file [project]/]config/packages/sylius_odoo_product.yaml and copy configuraiton into it
-
Run composer to add dependancy
composer require fabit/sylius-odoo-product-plugin
-
Add following entry in
Fabit\SyliusOdooProductPlugin\SyliusOdooProductPlugin::class => ['all' => true]
-
Add route entry in
-
Override the Product Entity , Add ProductTrait to your Product entity
-
Override the ProductVariant Entity , Add ProductVariantTrait to your ProductVariant entity
- Add following variables in .env file
Sylius basic intallation
-
Run following command to install install Sylius
php bin/console sylius:install
- note: on a demo Odoo, use
en_EN
as localization
- note: on a demo Odoo, use
-
Make sure media directory has write permission
- Setup Country & Zone
Execute Odoo commands
-
Update database table, Run command to update database schema
php bin/console doctrine:schema:update --force
-
Run following command to import all categories
php bin/console odoo:category:import
-
Run following command to import all taxes
php bin/console odoo:tax:import
-
Run following command to import all taxes
php bin/console odoo:product:import
Sylius after Odoo Sync
- Choose Odoo category "All" in Configuration -> Channel
- Choose Delivery method
- Choose Payment method
! ENJOY THE DEMO !
All versions of sylius-odoo-product-plugin with dependencies
sylius/sylius Version ^1.10
fabit/sylius-odoo-core-plugin Version ^1.0
symfony/lock Version ^4.0|^5.0
symfony/messenger Version ^4.0|^5.0
lakion/mink-debug-extension Version ^2.0