Icone de sacola em adicionar ao carrinho - Script Shopify
Por fernando•Publicado em 11 abr 2023
1 - Acesse o arquivo base.css do seu tema e adicione o código do Script 1
Script 1
.sacola:after {
content: '\f291';
font-family: "Font Awesome 5 Free";
font-weight: 900;
margin-right: 5px;
}
2 - Acesse o arquivo buy-buttons.liquid e busque por ProductSubmitButton
3 - Adicione o script 2 abaixo da tag <button>
Script 2
<span class="sacola"></span>
4 - Procure pela tag </product-form> e adicionar o Script 3 abaixo
Script 3
<link href="https://use.fontawesome.com/releases/v5.0.1/css/all.css" rel="stylesheet">