CoreShop Product Bundle

- Price Calculators
- Pimcore Core Extensions
- Doctrine Mappings
- Symfony Forms
- Product Price Rules
- Product Specific Price Rules

Installation

$ composer require coreshop/product-bundle:^2.0

Adding required bundles to kernel

You need to enable the bundle inside the kernel

<?php

// app/AppKernel.php

public function registerBundlesToCollection(BundleCollection $collection)
{
    $collection->addBundles([
        new \CoreShop\Bundle\ProductBundle\CoreShopProductBundle(),
    ]);
}

Updating database schema

Run the following command.

$ php bin/console doctrine:schema:update --force

Install Pimcore Entities

$ php bin/console coreshop:resources:install

Learn more about overriding Pimcore Classes here)

Usage

This Bundle integrates Product Component into Symfony and Doctrine

The Product Bundle provides you with basic information needed for products: Product, Product Price Rule, Specific Price Rule and Price Calculators

Doctrine Entities

  • ProductPriceRule
  • ProductSpecificPriceRule

Pimcore Entities

  • Product (CoreShopProduct)
  • Category (CoreShopCategory)

Pimcore UI

  • Product Grid

How to use?

coreshop.global.resource.open('coreshop.product', 'products');