Skip to content

Instantly share code, notes, and snippets.

Felipe Figueroa amenadiel

View GitHub Profile
@amenadiel
amenadiel / 500_atributos.yaml
Created Nov 29, 2018
Atributos normalizados (500 attributos)
View 500_atributos.yaml
This file has been truncated, but you can view the full file.
NISSSENTRFL-05:
descontinuado: false
segmento: C-Sedan
cod: NISSSENTRFL-05
fecha_de_precio: 05-11-2018
precio_de_lista: "12490000"
bonificacion: "900000"
bonos_adicionales: ""
bono_de_financiacion: "400000"
@amenadiel
amenadiel / 970_atributos.yaml
Created Nov 29, 2018
Autos con 970 atributos
View 970_atributos.yaml
This file has been truncated, but you can view the full file.
NISSSENTRFL-05:
descontinuado: false
segmento: C-Sedan
cod: NISSSENTRFL-05
fecha_de_precio: 05-11-2018
precio_de_lista: "12490000"
bonificacion: "900000"
bonos_adicionales: ""
bono_de_financiacion: "400000"
@amenadiel
amenadiel / autos.json
Created Nov 29, 2018
Autos con atributos normalizados (500 atributos)
View autos.json
This file has been truncated, but you can view the full file.
{
"NISSSENTRFL-05": {
"descontinuado": false,
"segmento": "C-Sedan",
"cod": "NISSSENTRFL-05",
"fecha_de_precio": "05-11-2018",
"precio_de_lista": "12490000",
"bonificacion": "900000",
"bonos_adicionales": "",
@amenadiel
amenadiel / autos.json
Created Nov 29, 2018
Autos por código, 970 atributos
View autos.json
This file has been truncated, but you can view the full file.
{
"NISSSENTRFL-05": {
"descontinuado": false,
"segmento": "C-Sedan",
"cod": "NISSSENTRFL-05",
"fecha_de_precio": "05-11-2018",
"precio_de_lista": "12490000",
"bonificacion": "900000",
"bonos_adicionales": "",
@amenadiel
amenadiel / Atributos expandidos.yaml
Created Nov 29, 2018
Autos por código, con atributos expandidos y resumidos
View Atributos expandidos.yaml
This file has been truncated, but you can view the full file.
NISSSENTRFL-05:
descontinuado: false
segmento: C-Sedan
cod: NISSSENTRFL-05
fecha_de_precio: 05-11-2018
precio_de_lista: "12490000"
bonificacion: "900000"
bonos_adicionales: ""
bono_de_financiacion: "400000"
@amenadiel
amenadiel / estilos_prueba.css
Last active Oct 28, 2018
Prueba versión ajax
View estilos_prueba.css
.table {
width: 100%;
background-color: transparent;
border-collapse: collapse;
border-spacing: 0;
display: table;
border-color: grey;
font-size: 0.9em;
}
@amenadiel
amenadiel / estilos_prueba.css
Last active Oct 28, 2018
Prueba de conocimientos
View estilos_prueba.css
.table {
width: 100%;
background-color: transparent;
border-collapse: collapse;
border-spacing: 0;
display: table;
border-color: grey;
font-size: 0.9em;
}
View wcas_cart_behavior.js
jQuery(document).ready(function() {
if (jQuery('.woocommerce-cart-form').length) {
jQuery('.dgwt-wcas-search-input').one('focus',function() {
jQuery('.dgwt-wcas-suggestions-wrapp')
.addClass('noClicks');
.on('click','.dgwt-wcas-suggestion', function() {
return false;
@amenadiel
amenadiel / suggestion.less
Last active Oct 12, 2018
Styling for suggestion container
View suggestion.less
.add_to_cart_mixin {
padding: 8px 10px 8px 15px;
box-sizing: border-box;
border-radius: 3px;
background-color: #128ced;
color: white !important;
&:before {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
View search.js
suggest: function () {
if (!this.suggestions.length) {
if (this.options.showNoSuggestionNotice) {
this.noSuggestions();
} else {
this.hide();
}
return;
}
You can’t perform that action at this time.