We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac834b7 commit 824a299Copy full SHA for 824a299
pages/product/[slug].vue
@@ -31,7 +31,8 @@
31
name="variation"
32
:checked="i == product.variations.nodes.findIndex((attr) => attr.stockStatus === `IN_STOCK`)"
33
:value="variation.attributes.nodes.map((attr) => attr.value).toString()"
34
- v-model="selectedVariation" />
+ v-model="selectedVariation"
35
+ :disabled="variation.stockStatus === 'OUT_OF_STOCK'" />
36
<span class="py-1.5 px-2 border rounded leading-[10px] h-6">{{ variation.attributes.nodes.map((attr) => attr.value).toString() }}</span>
37
</label>
38
</div>
0 commit comments