Realizado

Diminuir o prazo de entrega no código

Publicado em 25 de Fevereiro de 2021 dias na Design e Multimedia

Sobre este projeto

Aberto

Olá! Eu gostaria de diminuir o prazo de entrega que está entre 7 dias a 1 mês para 5 a 15 dias úteis. Segue abaixo o código:

<script src="https://ajax.googleapis.com/.../Jquery/3.2.1/jquery.min.js"></script>
<script>
function convertDate(e){var t,o=new Date(e);return[(t=o.getDate(),t<10?"0"+t:t)].join("/")}function getMesExtenso(e){var t=new Array(12);return t[0]="janeiro",t[1]="fevereiro",t[2]="março",t[3]="abril",t[4]="maio",t[5]="junho",t[6]="julho",t[7]="agosto",t[8]="setembro",t[9]="outubro",t[10]="novembro",t[11]="dezembro",t[e]}jQuery(document).ready(function(e){var t=new Date,o=t.setDate(t.getDate()+5),n=t.setDate(t.getDate()+2),r=getMesExtenso(t.getMonth());if(convertDate(o)>convertDate(n))var a="<strong>"+convertDate(n)+"</strong> e <strong>"+convertDate(o)+" de "+r+"</strong>";else{if(null==(s=getMesExtenso(t.getMonth()+1)))var s=getMesExtenso(t.getMonth()-11);a="<strong>"+convertDate(n)+" de "+r+"</strong> e <strong>"+convertDate(o)+" de "+s+"</strong>"}e.getJSON("https://wtfismyip.com/json",function(t){var o=(t=t.YourFuckingLocation).replace(", Brazil","");e(".custom-address").html("<font color='#ff00ff'><b>Frete Grátis</b></font> para <strong><font color='#ff00ff'>"+o+" e Região</font></strong>"),e(".shipping-estimated").html("Entrega estimada entre "+a+"."),E(".shipping-preview-loading").hide()})});
</script>
<div class="shipping-preview-line" style="position: relative;margin-left: -20px;">
<img style="height: 20px;width: 25px;position: absolute;left: 17px;top: 0px;" src="https://i.imgur.com/anmfjeb.png" class="shipping-country-flag fadeIn lazyloaded " alt="brazil">
<p class="shipping-preview-loading" style="text-align: left !important;color: #4a4a4a !important;padding: 0 0 0 60px;font-size: 13px !important;margin: -15px 0 30px 0;display:block;">Carregando, aguarde...</P>
<p style="text-align: left !important;color: #4a4a4a !important;padding: 0 0 0 60px;font-size: 13px !important;margin: -15px 0 0 0;" class="custom-address"></p>
<p style="margin:-0.5px;text-align: left !important;color: #4a4a4a !important;padding: 0 0 0 60px;font-size: 13px !important;margin: -7px 0 0 0;" class="shipping-estimated"></p>
</div>
<div style="padding-bottom: 25px">
<span style="color: #ff00ff; font-size:14px"><i style="vertical-align: middle;padding-right:5px;"><svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-check-circle" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>
<path fill-rule="evenodd" d="M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.236.236 0 0 1 .02-.022z"/>
</svg></i> Garantia de 30 dias direto em nossa loja</span><br>
<span style="color: #ff00ff; font-size:14px"><i style="vertical-align: middle;padding-right:5px;"><svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-bootstrap-reboot" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M1.161 8a6.84 6.84 0 1 0 6.842-6.84.58.58 0 0 1 0-1.16 8 8 0 1 1-6.556 3.412l-.663-.577a.58.58 0 0 1 .227-.997l2.52-.69a.58.58 0 0 1 .728.633l-.332 2.592a.58.58 0 0 1-.956.364l-.643-.56A6.812 6.812 0 0 0 1.16 8zm5.48-.079V5.277h1.57c.881 0 1.416.499 1.416 1.32 0 .84-.504 1.324-1.386 1.324h-1.6zm0 3.75V8.843h1.57l1.498 2.828h1.314L9.377 8.665c.897-.3 1.427-1.106 1.427-2.1 0-1.37-.943-2.246-2.456-2.246H5.5v7.352h1.141z"/>
</svg></i> 7 dias para trocas e devoluções</span>
</div>

Categoria Design e Multimedia
Subcategoria Web Design
Do que você precisa? Pequena atualização de um design existente
Isso é um projeto ou uma posição de trabalho? Um projeto
Tenho, atualmente Eu tenho especificações
Disponibilidade requerida Conforme necessário
Funções necessárias Desenvolvedor

Prazo de Entrega: Não estabelecido

Habilidades necessárias

Outro projetos publicados por V. B.