order emails theming, sold out product card, contact page hcaptcha

This commit is contained in:
elvira
2026-09-25 17:44:42 +03:00
parent 3347febb3c
commit e2d7bbb043
21 changed files with 445 additions and 39 deletions
@@ -0,0 +1,15 @@
{{--
@include('emails.partials.address', ['address' => $order->shippingAddress])
An order address, read-only, same fields as the account order page.
--}}
<p style="margin:0;font-size:15px;line-height:1.6;">
{{ trim($address->first_name.' '.$address->last_name) }}<br>
@if ($address->company_name){{ $address->company_name }}<br>@endif
@if ($address->tax_identifier)ΑΦΜ: {{ $address->tax_identifier }}<br>@endif
{{ $address->line_one }}<br>
@if ($address->line_two){{ $address->line_two }}<br>@endif
{{ trim($address->postcode.' '.$address->city) }}<br>
@if ($address->state){{ Lang::has("core::states.{$address->state}") ? __("core::states.{$address->state}") : $address->state }}<br>@endif
@if ($address->contact_phone){{ $address->contact_phone }}@endif
</p>
@@ -0,0 +1,13 @@
{{--
@include('emails.partials.button', ['url' => ..., 'label' => ...])
Bulletproof button: the padding sits on the link (whole area clickable)
with mso-padding-alt on the cell so Outlook keeps the same size.
--}}
<table role="presentation" cellpadding="0" cellspacing="0" style="margin:0;">
<tr>
<td bgcolor="#18c28a" style="background-color:#18c28a;border:1px solid #000000;border-radius:0;mso-padding-alt:14px 28px;">
<a href="{{ $url }}" target="_blank" style="display:inline-block;padding:14px 28px;font-family:'Manrope',Arial,Helvetica,sans-serif;font-size:16px;line-height:1.2;font-weight:700;color:#000000;text-decoration:none;">{{ $label }}</a>
</td>
</tr>
</table>
@@ -0,0 +1,2 @@
{{-- @include('emails.partials.section-heading', ['text' => ...]) --}}
<h2 style="margin:0 0 12px;padding:0 0 8px;border-bottom:1px solid #000000;font-family:'Manrope',Arial,Helvetica,sans-serif;font-size:18px;line-height:1.3;font-weight:800;color:#000000;">{{ $text }}</h2>