Code Monkey home page Code Monkey logo

netgenezsyliusbundle's Introduction

eZ Publish & Sylius field type and datatype implementation

About

This repo contains integration point of eZ Publish 5 with Sylius E-Commerce, which is a continuation of the eZ Publish Sylius integration.

This includes eZ Publish field type and legacy datatype which provide the ability to create and edit Sylius products via eZ Publish interface (either legacy or public API).

Installation

For installation instructions, see installation instructions of the main integration repo.

Usage

For usage, see USAGE.md.

Features

  • Both field type and legacy type have been developed and suppported. This means it is possible to create eZ Publish content with the sylius_product datatype in the legacy administration or with public API, and by publishing them, products in Sylius database are created/updated.
  • Translation of products as the related eZ Publish content is translated.
  • Sort clause for sorting by product number (SKU) has been implemented.
  • Trash and untrash slots have been implemented in order to handle deleting and recovering products in Sylius database.
  • Url generator, which can generate eZ Publish url alias from Sylius product entity (useful for linking to eZ content from Sylius front-end; eg. from cart).

Known issues

  • Due to the fact that Sylius uses lazy loading of translations, there have been issues with eZ Publish properly caching translations in the SPI cache. Therefore, ORMTranslatableListener has been overriden to enable eager loading of translations for all entites that are extending Sylius\Component\Core\Model\Product.

This could cause performance issues if there is a large number of languages used on a site.

  • Currently, Sylius product attributes that are exposed through eZ Publish field type are limited and hard coded. Future releases should expose configuration which would make it possible to determine which fields are to be manipulated through eZ Publish interface.

Copyright

  • Copyright (C) 2015 Locastic. All rights reserved.
  • Copyright (C) 2015 Netgen. All rights reserved.

License

netgenezsyliusbundle's People

Contributors

iherak avatar emodric avatar ilukac avatar

Watchers

Gabriele Perego avatar James Cloos avatar Luca Caimi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.