8 etapas simples para adicionar o ícone do caminhão de transporte na barra de anúncios da Shopify

8 Simple Steps to add Shipping Truck Icon in the Announcement Bar in Shopify - Made4uo - Great Gift Deals

Compatibilidade: apenas temas antigos ou legados do Shopify

Siga os passos abaixo. Não há necessidade de ter experiência em codificação.

Para iniciar:

1. Vá para Shopify (certifique-se de estar no administrador). Em seguida, Loja Online > Temas > Ações > Editar Código

2. Abra o tema líquido

3. Encontre o final da cabeça. Deveria ser assim "</head>"

4. Coloque o código logo acima de “</head>”

< script src = "https://kit.fontawesome.com/f7cf0a6419.js" >< / script >

5. Em seguida, abra a pasta Seção e clique em header.liquid

6. Encontre anúncio-bar__message

7. Substitua este código:

< p class = "announcement-bar__message" > { { seção. configurações . mensagem_texto | escapar } } < / p >


Para este código:

< p class = "announcement-bar__message" >< i class = "fas fa-shipping-fast" >< / i > { { seção. configurações . mensagem_texto | escapar } } < / p >


Você também deve substituir após o código "endfor" por este código

{ % endfor % } < p class = "announcement-bar__message" >< i class = "fas fa-shipping-fast" >< / i > { { seção. configurações . mensagem_texto | escapar } } < / p >


8. Clique em SALVAR tanto theme.liquid quanto header.liquid

Clique se desejar ícones diferentes.

Obrigado!!!(",)

2 comentários

hello in my shopify store in the header I can’t find announcement but there is a special section called announcement.liquid is the procedure the same?

simone

Hello! Thank you so much for making these videos. I am a real noob, but managed so easily to use your content!

I was wondering if you know how to connect products – i will explain.
I have the same necklace in gold and silver. I want both of the variants to appear on both “necklesses” and “all jewelry” in the menu. At the same time I want to show both options when entering one of the products. So when you press gold, you will only see photos of gold, and the info for gold, and when pressing silver, the oposite.

I hope I explained my self ok.

Crossing fingers that you can help!

Thank you so much :-)

Vilde F

Deixe um comentário