質問 > その他 > PurchaseFlow\ProcessorのDeliveryFeeを高いの1個だけを選択 |
その他
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
tao_s |
投稿日時: 2019/3/4 12:43
対応状況: −−−
|
仙人 登録日: 2008/8/20 居住地: 東京 投稿: 796 |
Re: PurchaseFlow\ProcessorのDeliveryFeeを高いの1個だけを選択 商品別送料を設定していなければ、そういった挙動にはならなかった気がするのですが...
とりあえず一番高いのだけという事であれば、 https://github.com/EC-CUBE/ec-cube/blob/24d3dde6b4289509d05e1697323757d014927fb4/src/Eccube/Service/PurchaseFlow/PurchaseFlow.php#L306 で商品毎に送料を足してるループで、それぞれ送料を比較してあげれば良いと思います。 PurchaseFlowのいじり方については、ちょうどこの前の東京ユーザグループの勉強会でやったので、見てみてください。 https://www.slideshare.net/chihiroadachi3/201927-eccubeugpurchaseflow-130874190?fbclid=IwAR0i9dn-CahYEpTGvWf2cBWEPSmOw5WAnP5EVM2QDzZI_sNBLBXNN4wLQ8Q サンプルコード: https://github.com/chihiro-adachi/ec-cube/compare/ad03d2d0078f8347c0a8fae9acc1ced74bf6e967...demo-tokyo?fbclid=IwAR2oNfFG9ZhsYD6wyqChVy5pY8FOdCmFYqfVhFFOJZHBm7TeOM-3RQUeMOs
|
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
PurchaseFlow\ProcessorのDeliveryFeeを高いの1個だけを選択 | NODOKA | 2019/3/2 21:41 |
» Re: PurchaseFlow\ProcessorのDeliveryFeeを高いの1個だけを選択 | tao_s | 2019/3/4 12:43 |
Re: PurchaseFlow\ProcessorのDeliveryFeeを高いの1個だけを選択 | NODOKA | 2019/3/6 16:14 |
Re: PurchaseFlow\ProcessorのDeliveryFeeを高いの1個だけを選択 | umebius | 2019/3/4 13:28 |
Re: PurchaseFlow\ProcessorのDeliveryFeeを高いの1個だけを選択 | NODOKA | 2019/3/6 16:22 |
Re: PurchaseFlow\ProcessorのDeliveryFeeを高いの1個だけを選択 | NODOKA | 2019/3/12 16:04 |
Re: PurchaseFlow\ProcessorのDeliveryFeeを高いの1個だけを選択 | umebius | 2019/3/12 18:32 |
Re: PurchaseFlow\ProcessorのDeliveryFeeを高いの1個だけを選択 | NODOKA | 2019/3/18 11:57 |