switched to new commerce product type with mutliple variation types

This commit is contained in:
2022-03-15 14:55:21 +01:00
parent f10cfd76f4
commit 9d6f19eeaf
11 changed files with 206 additions and 20 deletions

View File

@ -23,7 +23,7 @@
</button>
</div>
</div>
<div v-if="product.id == 3">
<div v-if="product.id == 8">
<a href="/pricing/multijoueur" class="btn">
{{ $t("default.Ask for a quote") }}
</a>
@ -44,14 +44,15 @@ export default {
props: ['product'],
mixins: [productsMixins],
data(){
// thoose should be on a field of the variation
return {
quantity: 1,
// showLoginModal:false
variation_btn_txt: {
1: 'Yeees!',
2: 'Yay!',
3: 'Great!',
4: 'OKAY!'
6: 'Yeees!',
7: 'Yay!',
8: 'Great!',
9: 'OKAY!'
}
}
},