Repository navigation
4.0.0
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.
ProductFacademethods got cleaned up (some removed or refactored, other new ones added).- Updated/cleaned
ProdcutAbstractTransfer,ProductConcreteTransfer,LocalizedAttributes. RemovedtaxRatefrom product transfer objects (it's managed by Tax bundle now). - Added correct singular form
ProductAbstractTransferandProductConcreteTransferforlocalizedAttributesfield. This changesaddLocalizedAttributesmethod toaddLocalizedAttribute. - Clear separation between abstract and concrete product management with
ProductAbstractManager,ProductConcreteManagerandProductMangerfor the logic which has to know about both. - Introduced concept of "Super Attributes" (attributes that define product variants).
- Added
VariantGeneratorto generate product variants based on Super Attributes. - Extracted product attribute management and added
AttributeMergerandAttributeKeyManager. - Product attribute merging logic (for abstract, concrete and localized attributes) got centralized in
AttributeMerger. - Added product URL management with
ProductUrlManagerandProductUrlGenerator. - Product URLs are now localized by using
ProductUrlTransferandLocalizedUrlTransfer. - Added
ProductActivatorto 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_typeandspy_product_attribute_type_value. The replacement for the attribute metadata table is the newspy_product_attribute_keywhich contains only attribute keys and a flag if they are Super Attributes. - Added new
description,meta_title,meta_keywordsandmeta_descriptionfields tospy_product_abstract_localized_attributes. - Added new
descriptionfield tospy_product_localized_attributes.