starfruit/ecommerce-bundle

Starfruit Ecommerce Bundle

0.0.4 2024-02-21 07:22 UTC

This package is auto-updated.

Last update: 2024-04-21 07:49:47 UTC


README

Starfruit Ecommerce Bundle

Requirement

Installation

  1. On your Pimcore 11 root project:
$ composer require starfruit/ecommerce-bundle
  1. Update config/bundles.php file:
return [
    ....
    Starfruit\EcommerceBundle\StarfruitEcommerceBundle::class => ['all' => true],
];

Config

Product Parent Class

Extends Data Object Product with class \Starfruit\EcommerceBundle\Model\Product\AbstractProduct

View templates

Config view templates to render data from bundle Controller, please overwrite below default config in config/config.yaml:

    starfruit_ecommerce:
        view_templates:
            cart:
                default: 'cart/cart.html.twig'
            checkout:
                address: 'checkout/address.html.twig'

Events and Event Listeners

See list