You can replace MyCashflow's default favicon icon by setting your own icon in the online store's or version's settings.

A favicon is an icon that appears in the browser tab's label. In MyCashflow online stores, the default favicon is the MyCashflow logo.

Here's how to enable a custom favicon for your online store:

  1. Create a favicon icon using an image editing program of your choice.

    The image should be a square-shaped PNG file. The recommended size is 512 x 512 pixels.

  2. Go to the admin panel page Settings > General settings.

    You can also set a separate favicon in the settings of each version.

  3. Select the image file you saved in the Favicon field of the setting form.

The favicon set in the online store's general settings is used in all versions for which no separate favicon has been set.

Using alternative favicons

You can add multiple different favicons of different sizes to your store theme for different purposes. Different devices and programs use favicons of different sizes, so a single icon may not be suitable for all purposes.

  1. Create all favicons you need.
  2. Create a helper containing the favicon markup, e.g. in the file helpers/favicon.html.
    <link rel="shortcut icon" type="image/ico" href="{ThemeUrl}/images/favicon-32x32.ico" sizes="32x32"/>
    <link rel="apple-touch-icon" type="image/ico" href="{ThemeUrl}/images/favicon-180x180.ico" sizes="180x180"/>
    <link rel="apple-touch-icon" type="image/ico" href="{ThemeUrl}/images/favicon-196x196.ico" sizes="196x196"/>

    This example creates references to three favicons of different sizes displayed in different contexts based on size. The last two rows are suitable e.g. for retina screens typical for iPhones and iPads.

  3. Add a reference to the favicon helper file to your store theme.

    The required markup is in bold in the code sample below:

    <head>
        <meta charset="utf-8" />
        <title>{Title}</title>
        <meta name="description" content="{MetaDescription}" />
        <meta name="robots" content="index, follow" />
        {Feed}
        <link rel="canonical" href="{ShopUrl}{CanonicalUrl}" />
        {Helper(file: 'helpers/favicon')}
        {Helper(file: 'helpers/styles')}
    </head>

    If you copy this example for yourself, make sure the names of the folders and files are the same as in your store theme.

    The theme's <head> section is often located in the file helpers/header.html, especially if the theme is based on MyCashflow's default theme.

If different versions of your store use different themes, make the necessary changes to all relevant themes.