Product detail: resources section layout 3 "Hardware option"
- The Resources Section Layout select gained a third value, hardware
("Layout 3 - Hardware option"): Technical Highlights spread over two
columns, no resource cards
- ProductShowJsonRenderer::resourcesBand() emits the same envelope with
items: [] for hardware even when cards are maintained, so the cards
stay on the product and reappear when switching back to layout 1 or 2
- Spec v1.27 (resources.sectionLayout values)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d87e64f73b
commit
da2ebdca23
3 files changed
+26
-9
No files matched your search
@@ -471,7 +471,7 @@ return [
|
||||
'resources_layout' => [
|
||||
'exclude' => true,
|
||||
'label' => 'Resources Section Layout',
|
||||
'description' => 'How the detail page arranges the Technical Highlights / Resources band. Layout 1 (default): Technical Highlights on the left, resource cards on the right (50/50). Layout 2: Technical Highlights spread over two columns, resource cards in the third (33/33/33).',
|
||||
'description' => 'How the detail page arranges the Technical Highlights / Resources band. Layout 1 (default): Technical Highlights on the left, resource cards on the right (50/50). Layout 2: Technical Highlights spread over two columns, resource cards in the third (33/33/33). Layout 3 - Hardware option: Technical Highlights spread over two columns, NO resource cards (maintained cards are kept but not shown).',
|
||||
'config' => [
|
||||
'type' => 'select',
|
||||
'renderType' => 'selectSingle',
|
||||
@@ -479,6 +479,8 @@ return [
|
||||
'items' => [
|
||||
['label' => 'Layout 1 - 50/50 (Technical Highlights left, Resources right)', 'value' => '50-50'],
|
||||
['label' => 'Layout 2 - 33/33/33 (Technical Highlights in two columns, Resources in the third)', 'value' => '33-33-33'],
|
||||
// customer request 2026-11-02: hardware products have no resource cards
|
||||
['label' => 'Layout 3 - Hardware option (Technical Highlights in two columns, no Resources)', 'value' => 'hardware'],
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user