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

購入金額より割引金額が高い場合にエラーが発生する #127

Open
okazy opened this issue Apr 27, 2020 · 0 comments
Open
Labels
Milestone

Comments

@okazy
Copy link
Contributor

okazy commented Apr 27, 2020

開発コミュニティへの投稿から

https://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=23447&forum=1&post_id=96512#forumpost96512

  1. クーポンプラグインにて、購入金額より高い金額を設定する
  2. フロントにて、商品を購入する、この際、上記で設定したクーポンを使用
     (購入金額合計よりクーポンの設定金額が大きいこと)
  3. 購入手続きを行うと、システムエラーとなる

原因としては、金額用のカラムが、decimal unsigned の為
マイナス値を渡されることで、エラーとなる。
クーポンの適用を行うことで、マイナス値となる場合は
0にする処理が必要と考えます。

プラグインの修正リリースを希望いたします。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant