catalogo, avanti, grafica

This commit is contained in:
Surya Paolo
2024-05-05 19:09:08 +02:00
parent 17deeb7028
commit 84e7f6e9f4
10 changed files with 436 additions and 904 deletions

View File

@@ -238,6 +238,10 @@ export default defineComponent({
return isOrdineChiuso()
}
function checkifCartEnable() {
return false
}
function getQtyWarn() {
if (myorder.quantity > 0) {
return t('ecomm.di_cui_x_in_carrello', { qty: myorder.quantity })
@@ -288,6 +292,10 @@ export default defineComponent({
function mounted() {
load()
if (props.complete && myproduct.value && myproduct.value.arrvariazioni) {
indvariazSel.value = 0
}
// Start the timer when the component is mounted
startTimer();
}
@@ -426,7 +434,10 @@ export default defineComponent({
}
function setvariazioneSelected(indvariaz: number) {
indvariazSel.value = indvariaz
if (indvariazSel.value === indvariaz)
indvariazSel.value = -1
else
indvariazSel.value = indvariaz
}
onMounted(mounted)
@@ -481,6 +492,7 @@ export default defineComponent({
apriSchedaPDF,
setvariazioneSelected,
indvariazSel,
checkifCartEnable,
}
}
})