generated from boboko/starter
multilingual content, change in how we show header categories and homepage hero products
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
{{--
|
||||
Store address and phone from Lunar's Store Details (Modules\Core\Store),
|
||||
email from CONTACT_EMAIL until Store Details has an email field too.
|
||||
Each line is left out when its value is empty.
|
||||
Store address, phone and email from Lunar's Store Details
|
||||
(Modules\Core\Store). Each line is left out when its value is empty.
|
||||
--}}
|
||||
@props([
|
||||
'store' => null,
|
||||
'email' => null,
|
||||
])
|
||||
|
||||
@php
|
||||
$address = $store?->translate('address');
|
||||
$phone = $store?->phone;
|
||||
$email = $store?->contact_email;
|
||||
@endphp
|
||||
|
||||
@if (filled($address) || filled($phone) || filled($email))
|
||||
|
||||
Reference in New Issue
Block a user