Gets the channel's public & config details.

Configured channels within a Hublify-Instance can have own (public) "seller-informations" that might differ from the main site-configurations and -details.
This is very likely the case when you have setup a multi (shop-) frontend-environment.

Preferably use this function instead of siteConfig().


Syntax

channelConfig(?string $posName = null,?array $params = []): array


Return

Returns an associative array containing the following configured values:

[
    [url] string the public url for the shop/site
    [currency] string typically EUR
    [name_public] string public name of the shop/site
    [logo] array
        [web] string mam-label for web-logo
        [doc] string mam-label for doc-logo
    [imprint] array
        [name] string
        [address_2] string
        [street] string
        [housenr] string
        [zip] string
        [town] string
        [cy_iso] string
        [taxident] string
        [ceo] string
        [crn] string
        [sepa_creditorid] string
        [telephone] string
        [telefax] string
        [email] string
     [customer_service] array
        [srv_telephone] string
        [srv_telephone_cost] string
        [srv_email] string
        [srv_telefax] string
        [srv_telefax_cost] string
        [srv_times] string
     [payment] array default bankdetails
        [account_owner] string
        [account_bankname] string
        [account_iban] string
        [account_bic] string
        [account_bankcode] string
        [account_number] string


Examples

Getting the current channel's public data & config.

{% set cfg = hublify.channelConfig("myChannelPOS") %}