Newer Version Available
WebStoreBundle
Parent Type
This type extends the Metadata metadata type and inherits its fullName field.
File Suffix and Directory Location
WebStoreBundle components have the suffix Webstore and are stored in the .webStoreBundle folder.
Version
WebStoreBundle components are available in API version 49.0 and later.
Special Access Rules
A B2B Commerce or D2C Commerce license and access to Commerce objects is required.
Fields
| Field Name | Description |
|---|---|
| autoFacetingEnabled |
|
| cartToOrderAutoCustomFieldMapping |
|
| commerceEinsteinActivitiesTracked |
|
| commerceEinsteinDeployed |
|
| country |
|
| defaultCurrency |
|
| defaultLanguage |
|
| defaultTaxLocaleType |
|
| description |
|
| guestBrowsingEnabled |
|
| guestCartTimeToLive |
|
| label |
|
| orderLifeCycleType |
|
| pricingStrategy |
|
| productGrouping |
|
| skipAdditionalEntitlementCheckForSearch |
|
| skuDetectionEnabled |
|
| storeName |
|
| supportedCurrencies |
|
| supportedLanguages |
|
| supportedShipToCountries |
|
| type |
|
Declarative Metadata Sample Definition
The following is an example of a WebStoreBundle component.
1<?xml version="1.0" encoding="UTF-8"?>
2<WebStoreBundle xmlns="http://soap.sforce.com/2006/04/metadata">
3 <autoFacetingEnabled>false</autoFacetingEnabled>
4 <commerceEinsteinActivitiesTracked>false</commerceEinsteinActivitiesTracked>
5 <commerceEinsteinDeployed>false</commerceEinsteinDeployed>
6 <defaultTaxLocaleType>Net</defaultTaxLocaleType>
7 <guestBrowsingEnabled>true</guestBrowsingEnabled>
8 <pricingStrategy>Priority</pricingStrategy>
9 <skipAdditionalEntitlementCheckForSearch>true</skipAdditionalEntitlementCheckForSearch>
10 <skuDetectionEnabled>false</skuDetectionEnabled>
11 <type>B2B</type>
12 <cartToOrderAutoCustomFieldMapping>true</cartToOrderAutoCustomFieldMapping>
13 <country>US</country>
14 <description>WebStore description</description>
15 <guestCartTimeToLive>10</guestCartTimeToLive>
16 <orderLifeCycleType>MANAGED</orderLifeCycleType>
17 <productGrouping>VariationParent</productGrouping>
18 <supportedCurrencies>USD</supportedCurrencies>
19 <supportedShipToCountries>CA;US</supportedShipToCountries>
20 <label>WebStore</label>
21 <supportedLanguages>en_US</supportedLanguages>
22 <defaultLanguage>en_US</defaultLanguage>
23 <defaultCurrency>000</defaultCurrency>
24 <storeName>WebStore</storeName>
25</WebStoreBundle>The following is an example package.xml that references the previous definition.
1<Package xmlns="http://soap.sforce.com/2006/04/metadata">
2 <types>
3 <name>WebStoreBundle</name>
4 <members>WebStore</members>
5 </types>
6 <version>60.0</version>
7</Package>Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.