Skip to content

4.0.0

Choose a tag to compare

@dereuromark dereuromark released this 28 Nov 14:17
· 1346 commits to master since this release

Included commits: 3.0.2...4.0.0

Improvements

  • Removed invalid dependencies from Product bundle. Added plugins for creating, updating and reading products to invert dependencies of other bundles like Price, ProductImage, etc.
  • Removed all product related Zed UI logic (controllers, templates, etc.) from this bundle. ProductManagement bundle is responsible for these from now on.
  • ProductFacade methods got cleaned up (some removed or refactored, other new ones added).
  • Updated/cleaned ProdcutAbstractTransfer, ProductConcreteTransfer, LocalizedAttributes. Removed taxRate from product transfer objects (it's managed by Tax bundle now).
  • Added correct singular form ProductAbstractTransfer and ProductConcreteTransfer for localizedAttributes field. This changes addLocalizedAttributes method to addLocalizedAttribute.
  • Clear separation between abstract and concrete product management with ProductAbstractManager, ProductConcreteManager and ProductManger for the logic which has to know about both.
  • Introduced concept of "Super Attributes" (attributes that define product variants).
  • Added VariantGenerator to generate product variants based on Super Attributes.
  • Extracted product attribute management and added AttributeMerger and AttributeKeyManager.
  • Product attribute merging logic (for abstract, concrete and localized attributes) got centralized in AttributeMerger.
  • Added product URL management with ProductUrlManager and ProductUrlGenerator.
  • Product URLs are now localized by using ProductUrlTransfer and LocalizedUrlTransfer.
  • Added ProductActivator to manage product activation / deactivation.
  • Removed Installer and Importer related code.

Persistence changes

  • Product attribute metadata related database structure got refactored. We've removed spy_product_attributes_metadata, spy_product_attribute_type and spy_product_attribute_type_value. The replacement for the attribute metadata table is the new spy_product_attribute_key which contains only attribute keys and a flag if they are Super Attributes.
  • Added new description, meta_title, meta_keywords and meta_description fields to spy_product_abstract_localized_attributes.
  • Added new description field to spy_product_localized_attributes.