Read theme file

ps_read_theme_file

Read-onlyBlock 3 · Appearance & deployments (service connector, off by default)Service connector onlyBlock off after install

Reads one file of your shop's look.

Ask Claude

„Show me where the product price is printed in product.tpl.”

Example answer

templates/catalog/product.tpl lines 60-74: {block name='product_prices'} {include file='catalog/_partials/product-prices.tpl'} {/block} ...

Technical details

Content of a theme file with line numbers (lines 1-400 by default; give a range for longer files). Path relative to the theme directory, for example templates/catalog/product.tpl; parent theme: prefix parent:. Always read the current content before ps_write_theme_file.

Parameters

NameTypeRequiredDescription
pathstringyesFile path in the theme (max 300 characters).
line_fromintegernoFirst line (default 1).
line_tointegernoLast line (default line_from + 399).

Limits

400 lines per call by default.

Related tools

Last updated: 2026-10-03