Skip to content

Rewind_menu_backup_do_not_delete

File: snippets/rewind_menu_backup_do_not_delete.liquid

Screenshot not yet added.
Save as docs/src/assets/screenshots/snippet-rewind_menu_backup_do_not_delete.png

Description

Rewind Menu Backup (Do Not Delete)

Generates a JSON-structured backup of all navigation menus (linklists) in the Shopify store. Outputs each menu’s handle, title, and links as a JSON array inside a hidden div. Created by the Rewind backup service for disaster recovery purposes.

Features:

  • Iterates through all linklists in the store
  • Outputs JSON with menu handle, title, and link URLs/titles
  • HTML-safe JSON encoding with strip_html and json filters

Usage

{% render 'rewind_menu_backup_do_not_delete' %}