feat(texts): add options to redefine text for zero product prices
This commit is contained in:
@@ -47,6 +47,7 @@ export const useSettingsStore = defineStore('settings', {
|
||||
text_no_more_products: '',
|
||||
text_empty_cart: '',
|
||||
text_order_created_success: '',
|
||||
zero_price_text: '',
|
||||
},
|
||||
|
||||
sliders: {
|
||||
|
||||
@@ -11,6 +11,11 @@
|
||||
<ItemInput label="Текст для успешного заказа" v-model="settings.items.texts.text_order_created_success">
|
||||
Текст, отображаемый при успешном создании заказа.
|
||||
</ItemInput>
|
||||
|
||||
<ItemInput label="Текст вместо нулевой цены" v-model="settings.items.texts.zero_price_text" placeholder="0.00р.">
|
||||
Текст, который будет выводиться вместо цены, в случае если цена = 0.
|
||||
Если текст отсутствует, то будет выводиться нулевая цена по умолчанию.
|
||||
</ItemInput>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
Reference in New Issue
Block a user