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
| Name | Type | Required | Description |
|---|---|---|---|
| path | string | yes | File path in the theme. Max 300 characters. |
| line_from | integer | no | First line (default 1). |
| line_to | integer | no | Last line (default line_from + 399). |
Limits
400 lines per call by default. Read only, works without a switch.
Related tools
- List theme files ps_list_theme_files
- Write theme file ps_write_theme_file
Use cases with this tool
- Find out which add-on shows a box on the page
- Change the colour of the add-to-cart button
- Add delivery and returns info under the price
- Add a site-wide announcement bar
- Swap the homepage banner for a seasonal campaign
- Remove doubled product information that confuses Google
- Hide or tidy an element on mobile
- Add a site verification code to every page
- Change how an add-on looks without losing it on the next update
- Restyle the featured products block on the homepage
- Check your add-on customisations before updating the add-on
Last updated: 2026-10-11