2020-03-05 13:06:47 +00:00
|
|
|
const blockAttributes = {
|
|
|
|
isPreview: {
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
|
|
|
save: false,
|
|
|
|
},
|
|
|
|
useShippingAsBilling: {
|
|
|
|
type: 'boolean',
|
|
|
|
default: true,
|
|
|
|
},
|
|
|
|
showCompanyField: {
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
|
|
|
},
|
|
|
|
requireCompanyField: {
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
|
|
|
},
|
|
|
|
showAddress2Field: {
|
|
|
|
type: 'boolean',
|
|
|
|
default: true,
|
|
|
|
},
|
|
|
|
showPhoneField: {
|
|
|
|
type: 'boolean',
|
|
|
|
default: true,
|
|
|
|
},
|
|
|
|
requirePhoneField: {
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
|
|
|
},
|
2020-03-06 12:20:17 +00:00
|
|
|
showPolicyLinks: {
|
|
|
|
type: 'boolean',
|
|
|
|
default: true,
|
|
|
|
},
|
2020-03-16 16:38:24 +00:00
|
|
|
showReturnToCart: {
|
|
|
|
type: 'boolean',
|
|
|
|
default: true,
|
|
|
|
},
|
|
|
|
cartPageId: {
|
|
|
|
type: 'number',
|
|
|
|
default: 0,
|
|
|
|
},
|
2020-03-05 13:06:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default blockAttributes;
|