View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007703 | Apex Theme | Apex Theme | public | 2024-08-05 10:12 | 2025-05-19 08:06 |
Reporter | [email protected] | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Summary | 0007703: Tabs on Detail page not working anymore | ||||
Description | if you change the template in fullproductinfo.html.twig from accordeon to tabs, there is no more content. It looks like capture is not working correctly | ||||
Steps To Reproduce | Change the template in fullproductinfo.html.twig and go on a detail page with additional information. Same issue also appears if you replace related_products.html.twig with related_products_tabs.html.twig. | ||||
Tags | No tags attached. | ||||
|
I agree with your findings. However, there's no option to switch between the templates besides editing the code itself. This means the tabs templates may be unsopported and should be deleted in next version. Development Team has to decide. [sp] |
|
If you change the layout in `fullproductinfo.html.twig` from accordion to tabs, and replace `related_products.html.twig` with `related_products_tabs.html.twig`, the extra content does not appear properly. This could be because the `{% capture %}` block wasn't working as expected because of the new structure in the template layout. It is possible that the tab layout was affecting how the content was being stored or output, especilly if the capture tags were nested or misplaced. You should double-check the block structure and see if all the tab content is being correctly stored and rendered in the right spot. https://www.igmguru.com/blog/devops-interview-questions |