Jump to content

Edit History

wepresta

wepresta

You didn’t break anythin, it’s just two different systems in PS9.

  • /themes/ZOneTheme/mails/fr/*.html/.txt = legacy “raw” emails (old system).
  • BO preview URLs like .../mail_theme/preview/... = Twig email themes, loaded from /mails/themes/<theme>/.

In your screenshot, ZOneTheme only shows index for ps_specials because BO is only finding a module raw template there, you don’t have a real Twig mail theme generated for ZOneTheme, so it can’t list/order-preview order_conf, order_ship, etc.

What you should do:

  • Create the Twig mail theme folder:
    • easiest: copy /mails/themes/classic → /mails/themes/ZOneTheme (or BO → Design → Email theme → select ZOneTheme → Generate with overwrite = YES)
  • Clear cache: delete /var/cache/*
  • Now edit the actual Twig email body, not .txt/.html: /mails/themes/ZOneTheme/templates/... (order confirmation template)

After that, the preview should match your edits.

wepresta

wepresta

You didn’t break anythin, it’s just two different systems in PS9.

  • /themes/ZOneTheme/mails/fr/*.html/.txt = legacy “raw” emails (old system).
  • BO preview URLs like .../mail_theme/preview/... = Twig email themes, loaded from /mails/themes/<theme>/.

In your screenshot, ZOneTheme only shows index for ps_specials because BO is only finding a module raw template there — you don’t have a real Twig mail theme generated for ZOneTheme, so it can’t list/order-preview order_conf, order_ship, etc.

What you should do:

  • Create the Twig mail theme folder:
    • easiest: copy /mails/themes/classic → /mails/themes/ZOneTheme (or BO → Design → Email theme → select ZOneTheme → Generate with overwrite = YES)
  • Clear cache: delete /var/cache/*
  • Now edit the actual Twig email body, not .txt/.html: /mails/themes/ZOneTheme/templates/... (order confirmation template)

After that, the preview should match your edits.

×
×
  • Create New...