Repository navigation
fix: «Під замовлення» в картці каталогу, 1.0.4 - #6
Merged
Merged
Conversation
Статус підмінявся лише на сторінці товару й у кошику; product_list.tpl лишався зі стоковим «Немає в наявності». Для vibe_shop рядок vs-stock перехоплюється цілим разом з data-out, з якого vibe.js відновлює мітку при зміні варіанта.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Картка товару в каталозі показувала «Немає в наявності» для товару під замовлення, хоча сторінка товару вже казала «Під замовлення»: модуль не модифікував
product_list.tpl.vibe_shop: рядок<p class="vs-stock…">перехоплюється цілим; текст «немає» міняється і в мітці, і вdata-out, з якогоvibe.jsвідновлює мітку при зміні варіанта.fn_not_stockу картці: ті самі зміни йproduct_badge.tpl, що й на сторінці товару.Перевірка: рендер категорії до/після — у
vibe_shopкартки без наявності «Немає на складі» → «Під замовлення» (мітка йdata-out), «В наявності»/«Закінчується» без змін; з вимкненим передзамовленням — знову «Немає на складі».module:check-modifications— анкери живі; тести модуля зелені; помилок вapp-*.logнемає.README: розділ «Теми» доповнено карткою каталогу.