@php $config = $page->mailwizzConfig; $existing = $config !== null ? [ 'list_uid' => $config->list_uid, 'list_name' => $config->list_name, 'field_email' => $config->field_email, 'field_first_name' => $config->field_first_name, 'field_last_name' => $config->field_last_name, 'field_phone' => $config->field_phone, 'tag_field' => $config->tag_field, 'tag_value' => $config->tag_value, ] : null; @endphp @extends('layouts.admin') @section('title', __('Mailwizz') . ' — ' . $page->title) @section('mobile_title', __('Mailwizz')) @section('content')
{{ __('Please fix the following:') }}
{{ __('Integration active') }}
{{ __('List:') }} {{ $config->list_name ?: $config->list_uid }}
{{ __('First, create a mailing list in Mailwizz with the required custom fields. Add a custom field of type Checkbox List with an option value you will use to track this pre-registration source.') }}
@if ($config !== null){{ __('Enter your API key and connect to load Mailwizz data (the same key as before is fine). If you clear the key field before saving, the previously stored key is kept.') }}
@endif{{ __('Map each local field to the matching Mailwizz custom field (by tag).') }}
{{ __('No checkbox list fields were returned for this list. Add one in Mailwizz, then run “Load fields” again from step 2.') }}
{{ __('Choose the checkbox option that marks subscribers from this pre-registration page.') }}
{{ __('This field has no options defined in Mailwizz. Add options to the checkbox list field, then reload fields.') }}