Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配送先が複数になる場合の案内メッセージが、エラーと同じように表示されている #2204

Open
ryo-endo opened this issue Mar 13, 2017 · 1 comment
Labels
enhancement 機能追加
Milestone

Comments

@ryo-endo
Copy link
Contributor

概要(Overview)

配送先が複数になる場合の案内メッセージが、エラーと同じように表示されている。
配送先が複数になるのは、正常な使い方。

image

期待する内容(Expect) or 要望 (Requirement)

ユーザーへのインフォメーションメッセージなので、
エラーとは異なる色で表示をしたい。

再現手順(Procedure)

  1. カートに商品種別AとBの商品を入れる。
  2. レジに進む
    ⇒ メッセージが表示される

環境 (environment)

  • EC-CUBE: 3.0.14

関連情報 (Ref)

なし

@ryo-endo
Copy link
Contributor Author

Shopping/index.twigでエラーしかハンドリングしていない。
テンプレートの互換性を考えると、マイナーバージョンでの対応は難しい。

{% for error in app.session.flashbag.get('eccube.front.error')  %}
<div id="confirm_flow_box__message" class="message">
    <p class="errormsg bg-danger">
            <svg class="cb cb-warning"><use xlink:href="#cb-warning" /></svg>{{ error|trans|nl2br }}
        </p>
    </div>
{% endfor %}

@ryo-endo ryo-endo added the enhancement 機能追加 label Mar 13, 2017
@ryo-endo ryo-endo added this to the 3.1.0 milestone Mar 13, 2017
@chihiro-adachi chihiro-adachi modified the milestones: 4.0, 4.0.x Oct 10, 2018
@xuelian311 xuelian311 modified the milestones: 4.0.x, 4.x Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 機能追加
Projects
None yet
Development

No branches or pull requests

3 participants