diff --git a/admin/view/template/module/promo_top_bar_nat.twig b/admin/view/template/module/promo_top_bar_nat.twig index 09dc98e..e7ba5e6 100644 --- a/admin/view/template/module/promo_top_bar_nat.twig +++ b/admin/view/template/module/promo_top_bar_nat.twig @@ -1773,15 +1773,10 @@ var nat_promo_lang = { text_block_product_button_text_help: '{{ text_block_product_button_text_help }}', text_block_color_product_btn_bg: '{{ text_block_color_product_btn_bg }}', text_block_color_product_btn_text: '{{ text_block_color_product_btn_text }}', - text_block_shipping_threshold_label: '{{ text_block_shipping_threshold_label }}', - text_block_shipping_threshold_help: '{{ text_block_shipping_threshold_help }}', - text_block_shipping_text_before_label: '{{ text_block_shipping_text_before_label }}', - text_block_shipping_text_before_help: '{{ text_block_shipping_text_before_help }}', - text_block_shipping_text_after_label: '{{ text_block_shipping_text_after_label }}', - text_block_shipping_text_after_help: '{{ text_block_shipping_text_after_help }}', - text_block_shipping_text_reached_label: '{{ text_block_shipping_text_reached_label }}', - text_block_shipping_text_reached_help: '{{ text_block_shipping_text_reached_help }}', - text_block_shipping_show_bar_label: '{{ text_block_shipping_show_bar_label }}', + text_block_shipping_text_before_label: '{{ text_block_shipping_text_before_label|default("Текст до достижения порога")|e("js") }}', + text_block_shipping_text_before_help: '{{ text_block_shipping_text_before_help|default("Добавьте товаров еще на {diff}...")|e("js") }}', + text_block_shipping_text_after_label: '{{ text_block_shipping_text_after_label|default("Текст после бесплатной доставки")|e("js") }}', + text_block_shipping_text_after_help: '{{ text_block_shipping_text_after_help|default("Поздравляем! У вас бесплатная доставка!")|e("js") }}', text_block_subscribe_placeholder_label: '{{ text_block_subscribe_placeholder_label }}', text_block_subscribe_placeholder_help: '{{ text_block_subscribe_placeholder_help }}', text_block_subscribe_button_text_label: '{{ text_block_subscribe_button_text_label }}', diff --git a/promo_top_bar_nat.ocmod.zip b/promo_top_bar_nat.ocmod.zip index 5d7aa86..c527667 100644 Binary files a/promo_top_bar_nat.ocmod.zip and b/promo_top_bar_nat.ocmod.zip differ