List theme files
ps_list_theme_files
Read-onlyBlock 3 · Appearance & deployments (service connector, off by default)Service connector onlyBlock off after install
Lists the files that make up your shop's look.
Ask Claude
„Which template renders the product page, and do we already override any module templates?”
Example answer
templates/catalog/product.tpl (writable). modules/ps_shoppingcart/ps_shoppingcart.tpl (override, writable). parent: none.
Technical details
File tree of the active theme (and the parent theme, paths prefixed parent:): path, size, modification date, whether the connector can write it (.tpl, .css, .js, .json in the active theme). Also shows module template overrides (modules/...). Tip: add your own styles in assets/css/custom.css, because a compiled theme.css can be overwritten when the theme is rebuilt.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| path | string | no | Path prefix, for example templates/catalog/ or modules/. |
| extensions | array of enum: tpl | css | js | json | yml | no | Only these extensions. |
| limit | integer | no | Maximum rows (default 200, max 500). |
| offset | integer | no | Rows to skip, for paging (default 0). |
Limits
Max 500 rows per call (default 200). Block 3, service connector only.
Related tools
- Read theme file ps_read_theme_file
- Write theme file ps_write_theme_file
- List modules ps_list_modules
Last updated: 2026-10-03