Magento – Shipping rate depending on the source and destination in magento 2

csvimportmagento2shippingtable-rates

I need to set special shipping cost for the transactions between hubs(Riyadh, Jeddah & Dammam). And between Hubs and Substations too. I don't know how to write the csv file. Can anyone help?

here i attach my existing csv file

Best Answer

Go to Store > Configuration > Sales > Shipping Methods > Table Rates

Select Store View as Main website

enter image description here

In Table Rates select Condition as Price Vs. Destination

Export Csv from there see in below image

enter image description here

Shipping calculated based on selected country, Region code and Post code and Order Subtotal.

enter image description here