Feature: #413 - Provide Product Traits
See Issue 413
Description
Products can have several features like categories and tags or files and images and some more. To ease the domain models in the extcode/cart-books, extcode/cart-events, and extcode/cart-products the extcode/cart extension provides some Traits.
\Extcode\
Cart\ Domain\ Model\ Product\ Category Trait \Extcode\
Cart\ Domain\ Model\ Product\ File And Image Trait \Extcode\
Cart\ Domain\ Model\ Product\ Measure Trait \Extcode\
Cart\ Domain\ Model\ Product\ Service Attribute Trait \Extcode\
Cart\ Domain\ Model\ Product\ Stock Trait \Extcode\
Cart\ Domain\ Model\ Product\ Tag Trait
Impact
Negative effects are not expected.
The traits can also be used in own product extensions. With the use it is to be made certain that
the __
method is not called and in the class, which uses appropriate Traits then the
ObjectStorages must initialize themselves.