Read theme file

ps_read_theme_file

Read-onlyTheme · switch, 24 hTellMyShop Pro onlyVisible right after install

Reads one file of your shop's look.

TellMyShop Free: No. This tool is only in TellMyShop Pro. TellMyShop Free has only ready reports that read your store.

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. Read only, works without a switch.

Related tools

Use cases with this tool

Last updated: 2026-10-11