Adding the shipping-simulator as a theme dependency in the manifest.json file;
or
Declaring the app's main block in a given theme template or inside another block from the theme.
Remember to add a table with all blocks exported by the app and their descriptions. You can verify an example of it on the Search Result documentation.
Block name
Description
seller-simulate-shipping
XXXXX
shipping-simulator.wrapper
XXXXX
shipping-simulator.input
XXXXX
shipping-simulator.button
XXXXX
shipping-simulator.table
XXXXX
shipping-simulator.search
XXXXX
shipping-simulator.wrapper props
Prop name
Type
Description
Default value
pricingMode
boolean
false
isProductPage
boolean
true
shipping-simulator.input props
Prop name
Type
Description
Default value
useMaks
boolean
XXXXXXXX
true
mask
string
XXXXXXXX
99999-999
placeholder
string
XXXXXXXX
00000-000
label
string
will split each sku of product in one shelf
CEP
shipping-simulator.button props
Prop name
Type
Description
Default value
text
string
XXXXXXXX
Calcular
shipping-simulator.search props
Prop name
Type
Description
Default value
text
string
XXXXXXXX
Não sei meu cep
usage:
⚠️
To select which SKU will take preference over this prop, create a Product (field) specification and assign the value of the desired SKU to be initially set for each product. If the specification doesn't exist or the value is empty, the preferredSKU prop will be used as a fallback. For more information, please refer to this guide.
Remember to also use this Configuration section to showcase any necessary disclaimer related to the app and its blocks, such as the different behavior it may display during its configuration.