Loading
Get Started with B2C Commerce
Índice de materias
Seleccionar filtros

          No hay resultados
          No hay resultados
          Estas son algunas sugerencias de búsqueda

          Compruebe la ortografía de sus palabras clave.
          Utilice términos de búsqueda más generales.
          Seleccione menos filtros para ampliar su búsqueda.

          Buscar en toda la Ayuda de Salesforce
          Set a Favicon.ico for a B2C Commerce Site

          Set a Favicon.ico for a B2C Commerce Site

          A favicon.ico in B2C Commerce, also known as a shortcut icon, website icon, tab icon, URL icon, or bookmark icon, is a file containing one or more small icons, associated with a particular website or web page. You can use a favicon.ico to represent your site in the browser's address bar, next to the site's name in a list of bookmarks, and in the browser's tab.

          Sites provide their favicon.ico in two places, and a client may decide to use either.

          • URL specified in HTML, in a <link> tag within the <head> tag - potentially more than one (since 2010)
          • Served from the root directory. For example, https://www.site.com/favicon.ico (since 1999)

          B2C Commerce doesn't serve custom files from the root directory. To use a favicon.ico on your site, a file you specify is placed in your cartridge's directory. That file becomes the default favicon.ico.

          1. To set a favicon.ico in B2C Commerce, place your favicon.ico file in a cartridge at this location. */cartridge/static/default/images/favicon.ico
          2. Ensure the file is found in the site's cartridge path and activate the code version.
            The file is now served at the site's root directory as the default icon.

          The SFRA (Storefront Reference Architecture) reference site implements <head> meta tags but not the well-known favicon.ico served from the root. A custom implementation should do both.

           
          Cargando
          Salesforce Help | Article