This commit is contained in:
Your Name committed 2026-07-25 00:54:35 -04:00
1 parent 94cbb52348
commit 167d07f0c2
7 files changed
+1284 -21

No files matched your search

+14
View File
@@ -178,6 +178,20 @@ Translate one language and one block at a time. This keeps the context compact a
Use `get_page_section` with `lang=all` only when every stored language map is genuinely needed. A specific language returns resolved strings and uses fallback by default.
## Editing Footer Menus
`footer-explore` and `footer-support` are flat menus shared by Admin, Backend, MCP, and Website. They are not Page Builder sections and do not use the Mega Menu tree tools.
1. Call `get_footer_menu` with `menuName` and the target `lang`.
2. Keep the returned `version`.
3. Preview one item-level mutation with `dryRun=true` and `expectedVersion`.
4. Apply only after the preview is correct.
5. Read the menu again and verify the result.
Use `update_footer_menu_item_translation` for one language at a time. Use `reorder_footer_menu_items` only with the complete list of current item IDs. If the backend returns `MENU_VERSION_CONFLICT`, discard the old version and read the menu again.
Do not use legacy `update_footer_content` for menu arrays. It remains available only for the Footer brand description and social links. Website Collections come from Categories, not a Footer menu.
## What to Expect
- `PRODUCT_CAROUSEL` may return products even when you did not send them.