Closed (fixed)
Project:
Commerce Shipping Price Matrix
Version:
8.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2018 at 13:55 UTC
Updated:
17 May 2019 at 17:49 UTC
Jump to comment: Most recent
Comments
Comment #2
krystalcode commentedThe error indicates that the uploaded file is an Excel file instead of a CSV file. Can you try exporting it to CSV via the Excel program (instead of saving it as CSV which might only alter the file extension but the file would still be an Excel file?). Can you open the file with a simple text editor?
Comment #3
ChrisGrewe commentedI'm having the same issue, and it appears to be a Windows-based issue. Any time you're uploading from a Windows machine, it's going to send that mime type. Trying it from my iPad (same file), I did not have this problem because iOS encodes the mime type correctly.
Comment #4
utcbrij commentedI'm on a iMac and my matrix is simple, although I did also try the sample and got the same error: "The Price Matrix cannot be empty. Please upload a CSV file with the matrix entries". My csv file looks like this:
1,percentage,0.08,6,100
Would like to get this working ASAP. Any help is greatly appreciated.
Comment #5
utcbrij commentedAn update to Drupal 8.6.15 fixed this issue.