I’m building a custom theme for PrestaShop 1.7 (planning to support 8.x as well), and I want to override certain templates and styles without directly modifying the classic theme.
I’ve cloned the classic theme and renamed it, but I’m not sure if I’m following the best practices when it comes to:
- Overriding .tpl files (e.g., product listings and checkout templates)
- Adding or overriding custom CSS/SCSS in a way that doesn’t conflict with PrestaShop’s core or future updates
I have tried these tasks:
- Duplicated the classic theme and renamed it in config/theme.yml
- Placed custom .tpl files in /themes/mytheme/templates/
- Used assets/css/custom.css and enqueued it via theme.yml
The overrides work inconsistently. How to ensure updates don’t break my theme?