feat: the cart and the account ask for the customer's name
All checks were successful
Build and deploy / Validate source (push) Successful in 10s
Build and deploy / Integration suite on a real stack (push) Successful in 4m49s
Build and deploy / Secret scan and release gate (push) Successful in 8s
Build and deploy / Publish images (push) Successful in 1m15s

The Site asked only for CPF/CNPJ, WhatsApp and e-mail, so a person's Tiny
contact was named after the recipient or the e-mail, and the WhatsApp notices
the client's n8n sends from Tiny greeted "Olá, fulano@gmail.com". The cart's
"Seus dados" and the signup now ask for a name, the account page can change
it, and it names a CPF customer's Tiny contact (a CNPJ keeps the registry's
razão social), the Kanban card and the team's alerts. Orders placed before
have none, as the server still accepts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-16 18:38:09 -03:00
parent 7eb7d90f8b
commit 1f2358c8b5
13 changed files with 78 additions and 20 deletions

View File

@@ -57,7 +57,9 @@
</form>
<form class="bloco" id="register">
<h2>Criar conta</h2>
<p class="nota2">Os pedidos feitos neste navegador passam para a sua conta.</p>
<p class="nota2">Seus pedidos feitos com o mesmo CPF/CNPJ e e-mail aparecem na conta.</p>
<label for="register-name">Nome</label>
<input id="register-name" autocomplete="name" maxlength="80" required>
<div class="duas">
<div><label for="cnpj">CPF ou CNPJ</label><input id="cnpj" inputmode="numeric" autocomplete="off" maxlength="18" required></div>
<div><label for="phone">WhatsApp</label><input id="phone" inputmode="numeric" autocomplete="tel" required></div>
@@ -142,6 +144,8 @@
<h1 id="tDados">Dados da conta</h1>
<form class="bloco" id="fPerfil">
<h2>Dados e entrega</h2>
<label for="dNomeCli">Nome</label>
<input id="dNomeCli" autocomplete="name" maxlength="80" required>
<div class="duas">
<div><label for="dCnpj" id="dCnpjRotulo">CPF ou CNPJ</label><input id="dCnpj" readonly aria-readonly="true"></div>
<div><label for="dZap">WhatsApp</label><input id="dZap" inputmode="numeric" autocomplete="tel" required></div>