0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

EC-CUBE4 商品CSV登録で送料が反映されなかったのをどうにかする

Last updated at Posted at 2019-07-05

EC-CUBEのVerは4.0.2です。

何度やっても入らない!
SymfonyのProfilerみたらTranslationでWARNINGが…

missing.jpg

中を調べてみると

eccube4/src/Eccube/Controller/Admin/Product/CsvImportController.php
$headerByKey['delivery_fee'] = trans('csvimport.label.delivery_fee');

登録されてないからMissing
なの下記の通りにで入れてみる

eccube4/src/Eccube/Resource/locale/messages.ja.yaml
csvimport.label.delivery_fee: 送料

やった、商品に送料が入った〜〜
なんで登録されてないんだろうか…

追記(2019/07/05 16:30)

1ヶ月前に修正あった模様
https://github.com/EC-CUBE/ec-cube/releases/tag/co%2F20190613

ZIPでDLして展開したから、まだそこには入ってなかったってことだったっぽ。
とりあえず、Githubにある該当ソースまるっこローカルにコピペして入れたらちゃんと送料入った。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?