PHP code example of ecoco / sylius-base-price-plugin
1. Go to this page and download the library: Download ecoco/sylius-base-price-plugin library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ecoco / sylius-base-price-plugin example snippets
return [
// ...
Ecocode\SyliusBasePricePlugin\EcocodeSyliusBasePricePlugin::class => ['all' => true],
];
bash
cp vendor/ecoco/sylius-base-price-plugin/data/src/Entity/Product/ProductVariant.php src/Entity/Product/ProductVariant.php
bash
export APP_ENV=test