B2C Commerce Cloud Site Preferences
List of Site Preferences available for configuration in B2C Commerce Cloud.
List of Site preferences available
Site Preference | Description | Values to Use |
---|---|---|
Zenkraft Master API Key | You will need to get this from Zenkraft. The API key is required for all API calls. | |
Zenkraft Production Mode | Allows you to toggle between production mode and development mode. | |
Enable Zenkraft Shipping Methods | Allows you to toggle the Real-Time Shipping Rates for Shipping Methods | |
Enable Zenkraft Shipping Rates | Allows you to toggle the Real-Time Shipping Rates for Shipping Methods | |
Enable Zenkraft Debug Logs | If enabled, requests and responses will be logged in the Zenkraft API Admin for debugging reasons | |
Carrier ID | Carrier ID to use for Shipments to the customer. | |
Packaging Type | Packaging type to use for shipments to the customer. Values can be found in Zenkraft API documentation. | your_packaging |
Shipping Account ID | ID Number for the Carrier account for shipments to the customer. | |
Currency Code | 3 letter Currency Code to use with the Zenkraft API. Default value is USD and available values can be found in the Zenkraft API documentation. | |
Dimension Units | Units to be used for dimensions. | IN or CM |
Weight Units | Units to be used for weight. | LB or KG |
Default Product Weight | This is the default weight to be used for products when determining shipping rates. If the weight is not defined on the product, this is what is used. | |
Sender Street Address | This is the address used as the FROM address for shipments to the customer. | |
Sender Address City | This is the city used as the FROM city for shipments to the customer. | |
Sender Address State Code | This is the state code used as the FROM state code for shipments to the customer. This is optional as not all countries have states. | |
Sender Address Postal Code | This is the postal code used as the FROM postal code for shipments to the customer. | |
Sender Address Country Code | This is the country code used as the FROM country code for shipments to the customer. | |
Sender Company | This is the Company Name used as the FROM company name for shipments to the customer. | |
Sender Name | This is the name used as the FROM name for shipments to the customer. | |
Sender Phone Number | This is the phone number used as the FROM phone number for shipments to the customer. | |
Sender Email Address | This is the email address used as the FROM email address for shipments to the customer. | |
Google Maps API Key | API Key to use for the Google Maps API. Currently, a Google Map is used for the Drop Off Locations feature. |
Zenkraft Estimated Delivery
Name | Description |
---|---|
Enable Zenkraft Estimated Delivery Dates | Set to true if you want to show the estimated delivery dates on Checkout and PDP |
Delivery Date Cutoff Time | After this time of day, estimated delivery dates will have a day added to them. For example, if this time is set as 5pm, then the estimated delivery date will add an extra day. |
Company-wide Lead Time | Company-wide days required to send out product. |
Zenkraft Advanced Configuration
Name | Description |
---|---|
Enable Advanced JSON Configuration | This will enable/disable the Zenkraft Advanced JSON Configuration. If enabled, a valid JSON object needs to be configured in that JSON configuration site preference |
Zenkraft Advanced JSON Object | Set your advanced JSON code here
{ "EDD": { "id_132174644": { "ACCOUNT_ID": "132174644", "CARRIER_ID": "fedex", "SERVICE_TYPE": "fedex_ground", "PACKAGING": "your_packaging", "CURRENCYCODE": "USD", "DIM_UNITS": "IN", "WEIGHT_UNITS": "LB", "ADDRESS": { "STREET": "10062 Treena Street", "CITY": "San Diego", "STATECODE": "CA", "POSTALCODE": "92131", "COUNTRYCODE": "US", "COMPANY": "Zenkraft Default", "NAME": "Zenkraft Default", "PHONE": "1231231233", "EMAIL": "api@zenkraft.com" } }, "id_870435884": { "ACCOUNT_ID": "870435884", "CARRIER_ID": "ups", "SERVICE_TYPE": "ups_ground", "PACKAGING": "your_packaging", "CURRENCYCODE": "USD", "DIM_UNITS": "IN", "WEIGHT_UNITS": "LB", "ADDRESS": { "STREET": "10062 Treena Street", "CITY": "San Diego", "STATECODE": "CA", "POSTALCODE": "92131", "COUNTRYCODE": "US", "COMPANY": "Zenkraft Default", "NAME": "Zenkraft Default", "PHONE": "1231231233", "EMAIL": "api@zenkraft.com" } } }, "SHIP": { "US": { "ACCOUNT_ID": "870435884", "CARRIER_ID": "ups", "SERVICE_TYPE": "ups_ground", "PACKAGING": "your_packaging", "CURRENCYCODE": "USD", "DIM_UNITS": "IN", "WEIGHT_UNITS": "LB", "FILETYPE": "PDF", "ADDRESS": { "STREET": "10062 Treena Street", "CITY": "San Diego", "STATECODE": "CA", "POSTALCODE": "92131", "COUNTRYCODE": "US", "COMPANY": "Zenkraft Default", "NAME": "Zenkraft Default", "PHONE": "1231231233", "EMAIL": "api@zenkraft.com" } } }, "RETURN": { "US": { "ACCOUNT_ID": "474557840", "CARRIER_ID": "ups", "SERVICE_TYPE": "ups_ground", "PACKAGING": "your_packaging", "CURRENCYCODE": "USD", "DIM_UNITS": "IN", "WEIGHT_UNITS": "LB", "FILETYPE": "PDF", "ADDRESS": { "STREET": "10062 Treena Street", "CITY": "San Diego", "STATECODE": "CA", "POSTALCODE": "92131", "COUNTRYCODE": "US", "COMPANY": "Zenkraft Default", "NAME": "Zenkraft Default", "PHONE": "1231231233", "EMAIL": "api@zenkraft.com" } } } } |
zenkraftDeliveryInstructionsConfig | Set your available delivery instructions here[ { "id": "leave_with_a_neighbour", "value": "Leave with a neighbour", "shippingMethods": [ "001", "003", "EUR001", "EUR003" ], "fields": [ { "nodeType": "input", "attributes": [ { "id": "type", "value": "text" }, { "id": "placeholder", "value": "Neighbour name:" }, { "id": "class", "value": "form-control mt-1" } ] }, { "nodeType": "input", "attributes": [ { "id": "type", "value": "text" }, { "id": "placeholder", "value": "Neighbour phone:" }, { "id": "class", "value": "form-control mt-1" } ] }, { "nodeType": "input", "attributes": [ { "id": "type", "value": "textarea" }, { "id": "placeholder", "value": "Additional info..." }, { "id": "class", "value": "form-control mt-1" } ] } ] }, { "id": "leave_at_front_porch", "value": "Leave at front porch", "shippingMethods": [ "001", "003", "EUR001", "EUR003" ] }, { "id": "Leave_at_reception", "value": "Leave at reception", "shippingMethods": [ "001", "003", "EUR001", "EUR003" ] } ] |