> 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: wixBookings # Method menu location: wixBookings --> BookingsCustomPricing --> getConfig # Method Link: https://dev.wix.com/docs/velo/events-service-plugins/bookings/service-plugins-spis/bookings-custom-pricing/get-config.md # Method Description: Retrieves the configuration of your custom pricing plugin. Set your custom pricing 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. ### Where to find `getConfig()` When you [add the Custom Pricing plugin](https://dev.wix.com/docs/develop-websites/articles/code-tutorials/wix-bookings/tutorial-bookings-pricing-custom-extension.md#step-1-create-a-bookings-pricing-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 plugin. For more information on setting your configuration, see [Tutorial: Bookings Pricing Custom Extension](https://dev.wix.com/docs/develop-websites/articles/code-tutorials/wix-bookings/tutorial-bookings-pricing-custom-extension.md#-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 'bookings-pricing-provider' folder of the // Custom Extensions section on your site. export function getConfig() { return { pricingProviderName: "calculatePrice" }; }; ``` ---