Skip to main content
Published: September 27 2011, 11:26:00 AMUpdated: November 28 2020, 10:02:39 PM
Product

Can i have more than one shipping policy in one file?

Policy file structure
All policies have two fields in common: the Policy Type and Policy Name. The Policy Type indicatesthe type of policy. The Policy Name is the unique name that defines which policy file to use in theProduct transformer configuration javascript file. For example:
PRODUCT.Policy.PaymentOptions = "PayPalOnly";


You can have more than one policy (~.json) file per policy type. Some policy files, like payment methodsand shipping services, can have multiple options, like Payment Method #1, Payment Methd #2, etc.within the same policy file. 

How well did this answer your question?
Answers others found helpful