You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rmilecki opened this issue
Jan 1, 2023
· 3 comments
Labels
1.7.7.8Affects versionsBugType: BugFOCategory: Front OfficeMinorSeverity: minor bug > https://build.prestashop.com/news/severity-classificationReadyStatus: Issue is ready to be worked onTheme & logoLabel: Which BO under menu is concernedVerifiedThe issue has been reproduced
As you can see extending product-list.tpl (e.g. to modify an existing block) breaks themes/classic/templates/catalog/listing/category.tpl. For some reason category.tpl which provides a nice category header doesn't work anymore.
I reproduce the issue with PrestaShop version 1.7.7.8, I'll add this to the backlog so it can be fixed.
Please be aware that some issues might take a very long time to be resolved. If this one is important to you and you cannot wait for it to be fixed on the project’s own time, we strongly suggest you consider contacting a professional to help you.
If you fix the issue on your end, please contribute it back to the project. Remember that the more people contribute, the better PrestaShop becomes for everyone.
It's maybe because you didn't have a category.tpl on your childtest.zip that you have this issue ( if I add you line on the product-list.tpl I can't go on a page with the faceted search as we can see here )
Thanks
AureRita
added
FO
Category: Front Office
Needs Specs
Status: issue needs to be specified
Theme & logo
Label: Which BO under menu is concerned
1.7.7.8
Affects versions
Verified
The issue has been reproduced
Minor
Severity: minor bug > https://build.prestashop.com/news/severity-classification
and removed
New
New issue not yet processed by QA
labels
Jan 3, 2023
It's maybe because you didn't have a category.tpl on your childtest.zip that you have this issue
That's correct, adding all dependant templates to the child theme can be used as a workaround. It can be cumberstone though as there are many templates referencing product-list.tpl.
1.7.7.8Affects versionsBugType: BugFOCategory: Front OfficeMinorSeverity: minor bug > https://build.prestashop.com/news/severity-classificationReadyStatus: Issue is ready to be worked onTheme & logoLabel: Which BO under menu is concernedVerifiedThe issue has been reproduced
Prerequisites
Describe the bug and add attachments
According to the documentation it should be possible to extend parent theme to introduce small changes (e.g. modify a single template block):
https://devdocs.prestashop-project.org/1.7/themes/reference/template-inheritance/parent-child-feature/
In documentation example
product-list.tpl
gets extended.The problem (bug) is that extending
product-list.tpl
breaks templates that extendproduct-list.tpl
(e.g.category.tpl
).Expected behavior
Extending
product-list.tpl
should allow modifying that template without affecting behaviour of any other templates.Steps to reproduce
Add new theme
Import from your computer
to install childtest.zipPrestaShop version(s) where the bug happened
1.7.8.8 8.0.0
PHP version(s) where the bug happened
7.2.34 7.3.32
If your bug is related to a module, specify its name and its version
No response
The text was updated successfully, but these errors were encountered: