Themes built on the Twig templating engine are now deprecated and require migration to Vitrin to ensure continued support and compatibility with Zid.
| Template path (add this to your theme to override) |
|---|
templates/account_profile.jinja |
templates/account_orders.jinja |
templates/account_wishlist.jinja |
templates/loyalty_program.jinja |
| Template | Purpose | Route |
|---|---|---|
| account_profile.jinja | The customer profile page. | /account |
| account_orders.jinja | Displays customer's orders. | /account/orders |
| loyalty_program.jinja | Display customer loyalty wallet and points history. | /account/loyalty-program |
| account_wishlist.jinja | Customer's wishlist page. | /account/wishlist or /wishlist |
These ship enabled by default. If you don’t add a file, the system version is used automatically.
{% extends "layout.jinja" %}
{% block page_title %}My Account{% endblock %}
{% block content %}
<section class="account">
<h1>{{ _("Profile") }}</h1>
{# Your custom UI here. Built-in data objects remain available. #}
</section>
{% endblock %}