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.
概要(Overview・Refs Issue)
共通支払い方法がありますが、「お支払方法が異なるためこの商品は同時に購入することはできません。」というエラーを表示しています
#2288
相談(Discussion)
修正内容
□カート画面
支払方法を取得する時配送方法と商品区分チェックするようにロッジクを入れました。
― 配送方法1 商品区分A (郵便振替)
― 配送方法2 商品区分A (現金書留、銀行振込)
― 配送方法3 商品区分B (郵便振替、現金書留)
☆商品区分ごと可能な支払方法こちらです
商品区分A (郵便振替、現金書留)
商品区分B (郵便振替、現金書留)
カートに可能入れる商品はAとBなりました
□受注確認画面
シッピング1.
配送方法は
― 配送方法1
― 配送方法2
シッピング2.
配送方法は
― 配送方法3
支払方法
― 郵便振替
― 現金書留
※支払方法か配送方法変更の後にバーリデト追加しましたので買えないケース場合はエラーメッセージ表示します
□購入できるケースこちらです
◇ケース1
シッピング1.
配送方法:配送方法1
シッピング2.
配送方法:配送方法3
支払方法:郵便振替
◇ケース2
シッピング1.
配送方法:配送方法2
シッピング2.
配送方法:配送方法3
支払方法:現金書留
※こちらの仕様は正しかどうか分かりませんので一旦ここまで実装します。