{# app/templates/vendor/content-page-edit.html #} {% extends "vendor/base.html" %} {% from 'shared/macros/alerts.html' import loading_state, error_state, alert_dynamic %} {% from 'shared/macros/headers.html' import back_button %} {% from 'shared/macros/inputs.html' import number_stepper %} {% block title %}{% if page_id %}Edit{% else %}Create{% endif %} Content Page{% endblock %} {% block alpine_data %}vendorContentPageEditor({{ page_id if page_id else 'null' }}){% endblock %} {% block content %} {# Dynamic title/subtitle and save button text based on create vs edit mode #}

Create a new custom page for your shop Customize this platform default page Edit your custom page

{{ back_button('/vendor/' + vendor_code + '/content-pages', 'Back to List') }}
{{ loading_state('Loading page...') }} {{ error_state('Error', show_condition='error && !loading') }} {{ alert_dynamic(type='success', message_var='successMessage', show_condition='successMessage') }}

Overriding Platform Default

You're customizing the "" page. Your version will be shown to customers instead of the platform default.

Basic Information

/

URL-safe identifier (lowercase, numbers, hyphens, underscores only) Slug cannot be changed for override pages

Page Content

Enter HTML content. Basic HTML tags are supported. Enter Markdown content. Will be converted to HTML.

SEO & Metadata

/300 characters (150-160 recommended)

Navigation & Display

{{ number_stepper(model='form.display_order', min=0, max=100, step=1, label='Display Order') }}

Lower = first

Make this page visible to your customers

{% endblock %} {% block extra_scripts %} {% endblock %}