|
- Cantidad
+ Quantity
|
- Producto
+ Product
|
Tax
@@ -111,15 +111,15 @@
@@ -131,16 +131,16 @@
@@ -183,7 +183,7 @@
- DEBITO
+ DEBIT
@@ -196,7 +196,7 @@
- PAGAR
+ PAY
diff --git a/scripts/pagarLogica.js b/scripts/pagarLogica.js
index fb5c81d..d5b7308 100644
--- a/scripts/pagarLogica.js
+++ b/scripts/pagarLogica.js
@@ -6,7 +6,7 @@ const pagarLogica = (checkout) => {
if (JSON.stringify(checkout) === '{}') {
- alert('Por favor, agregue uno o mas productos.')
+ alert('Please, add one or more products to buy.')
return
}
@@ -17,7 +17,7 @@ const pagarLogica = (checkout) => {
mensajeCompra.id = 'mensaje-compra'
let mensaje = document.createElement('h2')
- mensaje.innerText = 'Espere, será enviado a la pasarela de pagos en breve...'
+ mensaje.innerText = 'Please wait, it will be sent to the payment gateway shortly...'
mensajeCompra.appendChild(mensaje)
container.appendChild(mensajeCompra)
diff --git a/scripts/script.js b/scripts/script.js
index 737cc03..925d9c1 100644
--- a/scripts/script.js
+++ b/scripts/script.js
@@ -1,6 +1,6 @@
//? GLOBAL
-let activeCategory = 'BEBIDAS'
+let activeCategory = 'DRINKS'
let checkout = {}
let globalProductos = []
diff --git a/scripts/traerProductosDeAPI.js b/scripts/traerProductosDeAPI.js
index db54efa..691efb9 100644
--- a/scripts/traerProductosDeAPI.js
+++ b/scripts/traerProductosDeAPI.js
@@ -6,56 +6,56 @@ const traerProductosDeAPI = async () => {
name: 'Coca-Cola',
price: 3.5,
img: './img/cocacola-lata.jpg',
- category: 'bebidas'
+ category: 'drinks'
},
product2: {
name: 'Coca-Cola Zero',
price: 3.5,
img: './img/cocacola-zero.jpg',
- category: 'bebidas'
+ category: 'drinks'
},
product3: {
name: 'Manzana Post.',
price: 3.5,
img: './img/postobon-manzana-lata.jpg',
- category: 'bebidas'
+ category: 'drinks'
},
product4: {
name: 'Agua Natural',
price: 3.5,
img: './img/agua-500ml.jpg',
- category: 'bebidas'
+ category: 'drinks'
},
product5: {
name: 'Naranja Post.',
price: 3.5,
img: './img/naranja-postobon.jpg',
- category: 'bebidas'
+ category: 'drinks'
},
product6: {
name: 'Tropical 2L',
price: 3.5,
img: './img/tropical-ecuador-botella.jpg',
- category: 'bebidas'
+ category: 'drinks'
},
product7: {
name: 'Piña Postobon',
price: 3.5,
img: './img/postobon-pina.jpg',
- category: 'bebidas'
+ category: 'drinks'
},
product8: {
name: 'Asado',
price: 15,
img: './img/Asado.jpg',
- category: 'comidas'
+ category: 'foods'
},
@@ -63,7 +63,7 @@ const traerProductosDeAPI = async () => {
name: "Medialunas Dulces",
price: 2,
img: './img/Medialunas dulces.jpg',
- category: 'REPOSTERÍA Y PANADERÍA'
+ category: 'pastry and bakery'
},
product10: {
@@ -71,7 +71,7 @@ const traerProductosDeAPI = async () => {
name: 'Papas fritas congeladas',
price: 5,
img: './img/Papas fritas congeladas.jpg',
- category: 'refrigerados'
+ category: 'refrigerated'
}
}
}
diff --git a/style.css b/style.css
index 94b4da2..00343a1 100644
--- a/style.css
+++ b/style.css
@@ -270,6 +270,8 @@ header .perfil img.profile-menu {
flex-grow: 1;
border-radius: 5px;
+
+ user-select: none;
}
.pagina-principal .primer-columna .botones-de-descuento :first-child {
@@ -312,6 +314,7 @@ header .perfil img.profile-menu {
margin: 1vh 0px;
+ user-select: none;
}
.pagina-principal .segunda-columna nav ul li.active {
|