Create a Custom Pricing Plan Step for the Billing Zip Code
In this task, Felix needs to add a pricing plan step to the Default Pricing Plan so that products in the cart are priced according to the Billing Zip Code Attribute Pricing Procedure and Matrix.
-
Navigate to the Vlocity Product Console.
-
Next to Pricing Plan in the Pricing area, click the search icon .
-
In the Search Pricing Plan... dialog box, press the return or enter key to display the Default Pricing Plan.
-
Click on the Default Pricing Plan.
-
Click on the Pricing Plan Steps facet.
-
Click New Item.
-
Enter the following data in the General Properties pane:
Field Entry Name Calculate Billing Zip Code Attribute Pricing Implementation Name CustomPricingPlanStepImpl Method Name GetMatrixPrice Sequence 9 Active (checked) -
Click the Edit icon to open the Parameters dialog box.
-
Click the + symbol to add the following parameters:
First Box Second Box ProcedureName BillingZipCodeAttributePricingProcedure MatrixName BillingZipCodeAttributePricingMatrix RangeFields Billing_Zip_Code__c -
Click Done.
-
Click Save in the General Properties pane.