title | issue |
---|---|
Create cms buy box element in administration |
NEXT-11503 |
- Added component
buy-box
insrc/module/sw-cms/elements
- Added component
sw-cms-el-buy-box
- Added component
sw-cms-el-config-buy-box
- Added component
sw-cms-el-preview-buy-box
- Added component
- Changed method
onSave
insrc/module/sw-cms/page/sw-cms-detail/index.js
to handle saving buy box element in product page layout - Added method
onSaveEntity
insrc/module/sw-cms/page/sw-cms-detail/index.js
- Added method
isProductPageElement
insrc/module/sw-cms/page/sw-cms-detail/index.js
to check if element type is buy box, product description reviews or cross selling - Added method
getSlotValidations
insrc/module/sw-cms/page/sw-cms-detail/index.js
to get slot validations - Added method
getRedundantElementWarning
insrc/module/sw-cms/page/sw-cms-detail/index.js
to get notification message about redundant elements in product page layout - Changed
viewer
privileges insrc/module/sw-cms/acl/index.js
to enable reading data ofbuy-box
andproduct-description-reviews
CMS element