0 is out of stock and nothing is available from now on
This commit is contained in:
@@ -98,7 +98,14 @@
|
||||
</div>
|
||||
<button type="submit" class="{{ btn }}">{{ t(key="add-to-cart", lang=lang | default(value='sk')) }}</button>
|
||||
</form>
|
||||
<p class="text-sm text-on-surface/60 dark:text-on-surface-dark/60">{{ t(key="in-stock", lang=lang | default(value='sk')) }}: <span x-text="current.stock"></span></p>
|
||||
<p class="text-sm text-on-surface/60 dark:text-on-surface-dark/60">
|
||||
<template x-if="current.tracked">
|
||||
<span>{{ t(key="in-stock", lang=lang | default(value='sk')) }}: <span x-text="current.stock"></span></span>
|
||||
</template>
|
||||
<template x-if="!current.tracked">
|
||||
<span>{{ t(key="available", lang=lang | default(value='sk')) }}</span>
|
||||
</template>
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
<template x-if="!current.in_stock">
|
||||
|
||||
Reference in New Issue
Block a user