Setup guide
A floating WhatsApp button for your storefront. Two steps to get it
live, then every setting explained.
Both steps are required. Saving a number without
turning the app embed on shows nothing, and turning the embed on
without a saved number also shows nothing. The button appears once
both are done.
Getting the button live
-
Save your WhatsApp number
Open the app from your Shopify admin, go to the
Settings page and enter the number you want to
receive messages at. Use the country code, area code and number,
with no leading zero and no symbols: for example
5511999999999.
Write your greeting in Initial message if you want
the conversation to start with text already typed, then press
Save settings.
-
Turn the app embed on in your theme
The button stays hidden until your theme allows it. In your Shopify
admin go to
Online Store → Themes → Customize, open
the App embeds panel in the left sidebar, switch on
WhatsApp Button, and save the theme.
The app's home page has an Open theme editor button,
in the Turn it on in your theme step, that opens
the theme editor on that panel directly.
Open your storefront and the button is there. Everything below is
optional.
Every setting
Grouped by what they control. The first group is on the app's
Settings page, the next two are on the
Appearance page, and the last is on the
Visibility page. Each page has its own Save button and
saves only its own fields.
Who the button talks to
-
Link the button todefault: number
-
Whether the button opens your number or your WhatsApp username. Your
number stays saved either way, so you can switch back at any time.
- WhatsApp numberrequired
-
10 to 15 digits, starting with the country code and no leading zero.
This is required even when the button links to a username, because it
is what the button falls back to if the username is not working.
- WhatsApp usernameoptional
-
3 to 35 characters: letters, numbers, dots or underscores, with at
least one letter. The name also has to be
active in WhatsApp, not merely reserved — WhatsApp is
releasing usernames country by country, so test the link before you
publish.
- Initial messageoptional
-
Text that is already typed when the chat opens, up to 500 characters.
Leaving it empty is a valid choice: the chat then opens blank.
How it looks
- Button colordefault: #25D366
-
The circle's color, as a six-digit hex value. The default is
WhatsApp's own green.
- Icon colordefault: #FFFFFF
- The color of the WhatsApp glyph inside the circle.
- Button sizedefault: 64px
-
The diameter, between 32 and 96 pixels. Always pixels, so the button
is the same size on every theme.
- Icon sizedefault: 70%
-
How much of the button the glyph fills, between 30% and 80%. Being a
percentage, it scales with the button rather than needing its own
adjustment.
- Animationdefault: none
-
None, Pulse or Bounce. Visitors who ask their device for reduced
motion never see the movement, whichever you pick.
- Drop shadowdefault: on
- A soft shadow behind the button, which lifts it off the page.
Where it sits
- Positiondefault: bottom right
-
One of four corners or sides: bottom right, bottom left, middle right
or middle left.
- Distance from the sidedefault: 20px
-
The gap to the left or right edge, whichever side the position uses.
0 to 200 pixels.
-
Distance from the bottomdefault: 20px
-
The gap to the bottom edge, 0 to 200 pixels. Shown only for the two
bottom positions.
- Vertical adjustmentdefault: 0
-
Moves the button off the centre line: a positive number raises it, a
negative one lowers it. Shown only for the two middle positions.
-
Stacking order (z-index)default: 100
-
Which element wins when something overlaps the button. Raise it if a
sticky header, a cart drawer or another app covers the button.
Which pages show it
- Show the button ondefault: every page
-
The page types the button appears on, named as in the theme editor:
home page, products, collections, collections list, gift card, cart,
customer accounts, pages, blogs, blog posts, search, password and the
404 page. Untick one to hide the button there. Customer accounts
covers classic accounts only; the button never shows on new customer
accounts or at checkout.
Restore defaults, on the Appearance page, only resets
that page. Your number, username, link mode and message are left
alone, and nothing is stored until you press Save.
If something looks wrong
The button does not appear on my store
Either the app embed is off, no number has been saved, or that page
type is unticked on the Visibility page. Both steps at the top of this
page are required, and none of the three shows an error on the
storefront: the button is simply not rendered.
The button is hidden behind my header or cart
Raise Stacking order (z-index). Sticky headers often
sit at 1000 or higher, so try a value above that.
The button overlaps a cookie bar or another widget
Use Distance from the side and
Distance from the bottom to move it clear, or switch to
a position on the other side of the screen.
The username link does not open a chat
A reserved username is not necessarily an active one. WhatsApp is
enabling usernames country by country, so yours may not work yet. Switch
Link the button to back to the number — it is still
saved — and try the username again later.
I changed a setting and the storefront looks the same
Check that you pressed Save settings on the page where
you made the change, then reload the storefront. The live preview beside the form always reflects what is on
screen, which is not necessarily what is saved yet.
Privacy and uninstalling
The app collects nothing about your shoppers: no cookies, no analytics,
no tracking. The button is plain HTML and CSS, and it loads no
JavaScript on your storefront. Your settings live in your own Shopify
store, and uninstalling removes the button and the settings with it,
leaving no leftover code in your theme. The full
privacy policy has the detail.
Still stuck?
Write to
[email protected]
and we will help. New features are listed on the
changelog.
Guia de instalação
Um botão flutuante do WhatsApp para a sua loja. Dois passos para
publicar e, depois, cada configuração explicada.
Os dois passos são obrigatórios. Salvar o número sem
ativar o app embed não mostra nada, e ativar o app embed sem número
salvo também não mostra nada. O botão aparece quando os dois estiverem
feitos.
Colocando o botão no ar
-
Salve o seu número do WhatsApp
Abra o app pelo painel da Shopify, entre na página
Configuração e informe o número onde quer receber
as mensagens. Use código do país, DDD e número, sem zero à
esquerda e sem símbolos: por exemplo
5511999999999.
Escreva a sua saudação em Mensagem inicial se
quiser que a conversa comece com um texto já digitado e clique em
Salvar configuração.
-
Ative o app embed no seu tema
O botão fica oculto até o tema permitir. No painel da Shopify vá em
Loja virtual → Temas → Personalizar, abra
o painel Incorporações de app na barra lateral,
ative o Botão do WhatsApp e salve o tema.
A página inicial do app tem um botão Abrir editor do
tema, no passo Ative no tema, que abre o
editor direto nesse painel.
Abra a sua loja e o botão está lá. Tudo daqui para baixo é opcional.
Todas as configurações
Agrupadas pelo que controlam. O primeiro grupo fica na página
Configuração do app, os dois seguintes na página
Aparência, e o último na página
Exibição. Cada página tem o próprio botão de salvar e
grava só os campos dela.
Com quem o botão fala
-
Vincular o botão apadrão: número
-
Se o botão abre o seu número ou o seu nome de usuário do WhatsApp. O
número continua salvo nas duas opções, então dá para voltar quando
quiser.
- Número do WhatsAppobrigatório
-
De 10 a 15 dígitos, começando pelo código do país e sem zero à
esquerda. Ele é obrigatório mesmo quando o botão aponta para um nome
de usuário, porque é para ele que o botão volta caso o nome não
funcione.
- Nome de usuárioopcional
-
De 3 a 35 caracteres: letras, números, pontos ou sublinhados, com pelo
menos uma letra. O nome também precisa estar
ativo no WhatsApp, não apenas reservado: o WhatsApp
está liberando os nomes de usuário país por país, então teste o link
antes de publicar.
- Mensagem inicialopcional
-
Texto que já vem digitado quando a conversa abre, com até 500
caracteres. Deixar em branco é uma escolha válida: a conversa abre
vazia.
Como ele aparece
- Cor do botãopadrão: #25D366
-
A cor do círculo, em hexadecimal de seis dígitos. O padrão é o verde
do próprio WhatsApp.
- Cor do íconepadrão: #FFFFFF
- A cor do desenho do WhatsApp dentro do círculo.
- Tamanho do botãopadrão: 64px
-
O diâmetro, entre 32 e 96 pixels. Sempre em pixels, para o botão ter o
mesmo tamanho em qualquer tema.
- Tamanho do íconepadrão: 70%
-
Quanto do botão o desenho ocupa, entre 30% e 80%. Por ser
porcentagem, ele acompanha o tamanho do botão sem precisar de ajuste
próprio.
- Animaçãopadrão: nenhuma
-
Nenhuma, Pulsar ou Saltar. Quem pede menos movimento no aparelho não
vê a animação, qualquer que seja a escolhida.
- Sombrapadrão: ligada
- Uma sombra suave atrás do botão, que o destaca da página.
Onde ele fica
- Posiçãopadrão: inferior direita
-
Um entre quatro cantos ou laterais: inferior direita, inferior
esquerda, centro direita ou centro esquerda.
- Distância da lateralpadrão: 20px
-
O espaço até a borda esquerda ou direita, conforme o lado da posição
escolhida. De 0 a 200 pixels.
-
Distância da parte inferiorpadrão: 20px
-
O espaço até a borda inferior, de 0 a 200 pixels. Aparece apenas nas
duas posições inferiores.
- Ajuste verticalpadrão: 0
-
Afasta o botão do centro: um número positivo sobe, um negativo desce.
Aparece apenas nas duas posições centro.
-
Ordem de empilhamento (z-index)padrão: 100
-
Quem fica por cima quando algo se sobrepõe ao botão. Aumente se um
cabeçalho fixo, o carrinho ou outro app estiver cobrindo o botão.
Em quais páginas ele aparece
- Mostrar o botão empadrão: todas as páginas
-
Os tipos de página em que o botão aparece, com os mesmos nomes do
editor de tema: página inicial, produtos, coleções, lista de coleções,
cartão-presente, carrinho, contas de cliente, páginas, blogs, posts do
blog, pesquisa, senha e página 404. Desmarque um para esconder o botão
nele. Contas de cliente vale só para as contas clássicas; nas contas de
cliente novas e no checkout o botão nunca aparece.
Restaurar padrões, na página Aparência, mexe só nessa
página. Seu número, nome de usuário, modo de vínculo e mensagem ficam
como estão, e nada é gravado até você clicar em Salvar.
Se algo parecer errado
O botão não aparece na minha loja
Ou o app embed está desligado, ou nenhum número foi salvo, ou esse tipo
de página está desmarcado na página Exibição. Os dois passos do topo
desta página são obrigatórios, e nenhum dos três casos mostra erro na
loja: o botão simplesmente não é exibido.
O botão fica atrás do cabeçalho ou do carrinho
Aumente a Ordem de empilhamento (z-index). Cabeçalhos
fixos costumam usar 1000 ou mais, então tente um valor acima disso.
O botão esbarra na barra de cookies ou em outro widget
Use a Distância da lateral e a
Distância da parte inferior para afastá-lo, ou mude
para uma posição do outro lado da tela.
O link do nome de usuário não abre a conversa
Um nome reservado não é necessariamente um nome ativo. O WhatsApp está
liberando os nomes de usuário país por país, então o seu pode ainda não
funcionar. Volte Vincular o botão a para o número, que
continua salvo, e tente o nome mais tarde.
Mudei uma configuração e a loja continua igual
Confira se você clicou em Salvar configuração na
página onde fez a mudança e recarregue a loja. A prévia ao lado do formulário sempre mostra o que
está na tela, que não é necessariamente o que já foi salvo.
Privacidade e desinstalação
O app não coleta nada sobre os seus compradores: sem cookies, sem
análise de uso, sem rastreamento. O botão é HTML e CSS puros e não
carrega JavaScript na sua loja. Sua configuração fica na sua própria
loja Shopify, e desinstalar remove o botão junto com ela, sem deixar
código residual no tema. A
política de privacidade tem os detalhes.
Ainda com dúvida?
Escreva para
[email protected]
que a gente ajuda. As novidades ficam no
histórico de versões.