This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A plataforma vnda possui feature rodando no back para montar e concatenar as url dinamicamente conforme vão sendo selecionados. | |
Sempre que é preciso listar algum dos tipos de filtros disponíveis da plataforma use a tag {% aggregations %}. | |
Para as exibir filtros por um tipo de tag não será mais necessário usar a tag "{% tags type:"categoria"%}", | |
com o novo modelo de filtros de preço, atributos e tipo de tag são carregados através do {% aggregations %}. | |
Recomendável a leitura no guides sobre {% aggregations %} | |
http://guides.vnda.com.br/#aggregations | |
http://guides.vnda.com.br/#filtro-na-busca | |
http://guides.vnda.com.br/#filtro-nas-tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* jQuery v1.9.1 included | |
*/ | |
$(document).ready(function() { | |
// social share popups | |
$(".share a").click(function(e) { | |
e.preventDefault(); | |
window.open(this.href, "", "height = 500, width = 500"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==================================================== | |
Fonts | |
==================================================== */ | |
@font-face { | |
font-family: 'Bryant_MOO_Pro'; | |
src: local ("Bryant_MOO_Pro"), | |
src: url('//moo.zendesk.com/hc/theme_assets//148033/200069764/74127198--BryantMooPro-Regular.eot'); | |
src: url('//moo.zendesk.com/hc/theme_assets//148033/200069764/74127198-BryantMooPro-Regular.eot?#iefix') format('eot'), | |
url('//moo.zendesk.com/hc/theme_assets/148033/200069764/901550293-BryantMooPro-Medium.woff') format('woff'), | |
url('//moo.zendesk.com/hc/theme_assets//148033/200069764/74127198-BryantMooPro-Regular.ttf') format('truetype'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="search-box"> | |
<div class="need-help"> QUAL É A SUA DUVIDA?</div> | |
<div class="need-help-details">Digite a sua dúvida! Exemplo: "quais as formas de pagamento?" ou "onde localizo peças e acessórios?".</div> | |
{{search}} | |
</section> | |
<nav class="sub-nav hide"> | |
{{breadcrumbs}} | |
{{search}} | |
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<nav class="sub-nav"> | |
{{breadcrumbs}} | |
{{search}} | |
</nav> | |
<h1 class="page-header">{{title}}</h1> | |
<p>{{description}}</p> | |
{{section_tree_with_article}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="search-box"> | |
<div class="need-help"> QUAL É A SUA DUVIDA?</div> | |
<div class="need-help-details">Digite a sua dúvida! Exemplo: "quais as formas de pagamento?" ou "onde localizo peças e acessórios?".</div> | |
{{search}} | |
</section> | |
<div class="clearfix"> | |
<section class="knowledge-base"> | |
{{ category_tree }} | |
</section> | |
<section class="info-boxes"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery.validator.addMethod("cpf", function(value, element) { | |
value = jQuery.trim(value); | |
value = value.replace('.',''); | |
value = value.replace('.',''); | |
cpf = value.replace('-',''); | |
while(cpf.length < 11) cpf = "0"+ cpf; | |
var expReg = /^0+$|^1+$|^2+$|^3+$|^4+$|^5+$|^6+$|^7+$|^8+$|^9+$/; | |
var a = []; | |
var b = new Number; |