Salesforce B2C Commerce 24.7 > Merchandising Your Site > Campaigns and Promotions > Controlling Promotions > Qualifiers > Dynamic Mapping of Incoming URL for Source Codes
Using a Source Code to Show a Page and Select a Price Book
You can specify a source code that selects a price book and shows the Specials page
- Select site > Merchant Tools > Online Marketing > Source Code Groups.
- On the Manage Source Codes Groups page, click Find to view the list of source code groups.
- Open the selected source code group.
- On the Codes tab, enter SpringSale into the Source-Code Specification control and click Add.
- On the Redirects tab, select the Active: Page option.
- Enter or browse to the page you want to see and select it.
- On the Price Book tab, enter or browse to the price book you want to use and click Add.
- Select site > Merchant Tools > SitePreferences > Source-Codes.
- On the Source Code Preferences page, enter src into the URL Parameter Name control and click Apply.
- Select site > Merchant Tools > Site URLs > Aliases.
- On the Aliases page, enter www.yourstore.com and click Save.
- Select site > Merchant Tools > Site URLs > Dynamic Mapping.
-
On the Dynamic Mapping page, enter /specials/?src=*
p,,,SourceCodeRedirect-Start,,src,{0} and click
Save.
The customer sees the specified target page with the specified pricing.
Infocenter Retirement: On June 30, 2023, the Infocenter was retired, and documentation currently hosted on the Infocenter will be published to Salesforce Help, Commerce Cloud Developer Center, and Salesforce B2C Commerce Developer Documentation Resources. For more information, see the release note.