> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: getConfig() # Method package: wixEcom # Method menu location: wixEcom --> EcomShippingRates --> getConfig # Method Link: https://dev.wix.com/docs/velo/events-service-plugins/e-commerce/service-plugins/ecom-shipping-rates/get-config.md # Method Description: Retrieves the configuration of your shipping rates plugin. Set your shipping rates configuration in the `return` of the `getConfig()` function. Wix calls this function when you publish your site. Changes to the configuration don't take effect until you publish your site. The object returned by `getConfig()` contains values used to display the extended shipping rate on your site's dashboard. ### Where to find `getConfig()` When you [add the Shipping Rates service plugin](https://dev.wix.com/docs/develop-websites/articles/code-tutorials/wix-e-commerce-stores/e-commerce-shipping-rates-custom-extension.md#step-1-create-a-new-shipping-rates-extension), a folder is automatically added to your site. Use the `-config.js` file in the folder to set the default configuration for your implementation of the service plugin. For more information on setting your configuration, see [Tutorial: Shipping Rates Service Plugin](https://dev.wix.com/docs/develop-websites/articles/code-tutorials/wix-e-commerce-stores/e-commerce-shipping-rates-custom-extension.md#my-extension-name-configjs). # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Example of a configuration file ```javascript // Place this code in the -config.js file // in the 'ecom-shipping-rates' folder of the // Custom Extensions section on your site. export function getConfig() { return { name: "East-Coast Shipping Provider", description: "Providing shipping options for the US east-coast" }; }; ``` ---