In Magento 2, I want to know how the CSV file that we upload to table rate shipping parsed in code. For example, is it directly opened as a text stream and searched using PHP, or is it loaded to a temporary table and filtered via SQL. Also, what is the advantage of preferring one method over the other?

1 Answer 1


You can download sample csv in magento through admin section.

please switch to website from scope. so, you can find option to download sample csv.

in global scope this option not visible

see link - https://prnt.sc/1u1fskq

Country Region/State    Zip/Postal Code Weight (and above)  Shipping Price

US         *               3000                                 10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.