Manage hook positions

ps_manage_hook_positions

Write · preview + approveTheme · switch, 24 hTellMyShop Pro onlySaves: Theme switch (24 h)Visible right after install

Changes where on the page modules appear and in what order.

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

Ask Claude

„Move the banner above the featured products on the home page.”

Example preview

Hook displayHome: ps_banner 3 -> 1, ps_featuredproducts 1 -> 2, ps_customtext 2 -> 3.

Technical details

Modules in places on the page (hooks), like Design > Positions in the back office. action=list: hook (for example displayHome) -> modules in order, or module -> hooks where it is displayed; without either: display hooks with the number of modules. action=move moves a module within a hook to position (1 = first). action=unhook detaches a module from a hook (it stops showing there but keeps working). action=hook attaches a module (only if the module supports that hook). Changes have a preview with the order before and after and can be undone with ps_revert_change. Changes need the Theme switch.

Parameters

NameTypeRequiredDescription
actionenum: list | move | unhook | hookyeslist | move | unhook | hook.
hookstringwhen: action=move, unhook or hookHook name, for example displayHome, displayFooter, displayProductAdditionalInfo.
modulestringwhen: action=move, unhook or hookTechnical module name (ps_list_modules).
positionintegernomove/hook: target position (1 = first). hook without position = at the end. Range 1 to 200.
confirmbooleannofalse (default) returns a preview and saves nothing. true executes, only after the user approved the preview, together with change_token.
change_tokenstringwhen: confirm=trueToken from the preview. Required with confirm=true. Valid 30 minutes, single use, bound to the previewed arguments and data state.

Limits

One module and hook per change. Position 1-200. After a change: ps_clear_cache and ps_inspect_page.

What you see before anything is saved

Claude first calls the tool without confirming it. The module returns a preview (current and new values) and a single-use token valid for 30 minutes. Claude shows you the preview and saves the change only after your yes.

Related tools

Use cases with this tool

Last updated: 2026-10-11