fixed home commerce buttons
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
Binary file not shown.
+1
-1
File diff suppressed because one or more lines are too long
Binary file not shown.
+2
-2
File diff suppressed because one or more lines are too long
@@ -738,6 +738,12 @@ aside.messages{
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
#main-content.loading{
|
||||||
|
transition: all 0.3s ease-in-out;
|
||||||
|
opacity: 0.5;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// ___ _ _ _ __ _
|
// ___ _ _ _ __ _
|
||||||
// / __|___ _ _| |_ ___ _ _| |_ ___| | ___ / _| |_
|
// / __|___ _ _| |_ ___ _ _| |_ ___| | ___ / _| |_
|
||||||
@@ -2232,11 +2238,6 @@ article.card{
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row nowrap;
|
flex-flow: row nowrap;
|
||||||
|
|
||||||
&.loading{
|
|
||||||
transition: all 0.3s ease-in-out;
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
article.product,
|
article.product,
|
||||||
.views-row{
|
.views-row{
|
||||||
flex:0 0 33%;
|
flex:0 0 33%;
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ export default {
|
|||||||
|
|
||||||
// transition
|
// transition
|
||||||
this.$modal.hide('modal-loginregister')
|
this.$modal.hide('modal-loginregister')
|
||||||
document.getElementById('pricing').classList.add('loading')
|
document.getElementById('main-content').classList.add('loading')
|
||||||
|
|
||||||
// handle the cart then redirect to checkout flow
|
// handle the cart then redirect to checkout flow
|
||||||
this.getCarts()
|
this.getCarts()
|
||||||
@@ -136,6 +136,7 @@ export default {
|
|||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.warn('Issue with product add to cart', error)
|
console.warn('Issue with product add to cart', error)
|
||||||
|
document.getElementById('main-content').classList.remove('loading')
|
||||||
Promise.reject(error)
|
Promise.reject(error)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user