Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bigboss86 committed Jan 20, 2022
1 parent e8ad0f4 commit 7f40486
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 3 additions & 5 deletions doc/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ return [
```yml
# config/packages/_sylius.yaml
imports:
...

# ...
- { resource: "@OdiseoSyliusVendorPlugin/Resources/config/config.yaml" }
```
Expand Down Expand Up @@ -52,8 +51,8 @@ use Odiseo\SyliusVendorPlugin\Entity\VendorsTrait;
use Sylius\Component\Core\Model\Channel as BaseChannel;

/**
* @ORM\Table(name="sylius_channel")
* @ORM\Entity
* @ORM\Table(name="sylius_channel")
*/
class Channel extends BaseChannel implements VendorsAwareInterface
{
Expand Down Expand Up @@ -83,8 +82,8 @@ use Odiseo\SyliusVendorPlugin\Entity\VendorTrait;
use Sylius\Component\Core\Model\Product as BaseProduct;

/**
* @ORM\Table(name="sylius_product")
* @ORM\Entity
* @ORM\Table(name="sylius_product")
*/
class Product extends BaseProduct implements VendorAwareInterface
{
Expand Down Expand Up @@ -124,7 +123,6 @@ sylius_product:

```twig
{# ... #}
{{ form_row(form.code) }}
{{ form_row(form.enabled) }}
{{ form_row(form.vendor) }}
{# ... #}
Expand Down
3 changes: 1 addition & 2 deletions doc/sitemap.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ return [
```yml
# config/services.yaml
imports:
...

# ...
- { resource: "@OdiseoSyliusVendorPlugin/Resources/config/services/sitemap.yaml" }
```
Expand Down

0 comments on commit 7f40486

Please sign in to comment.