2020-03-05 13:06:47 +00:00
|
|
|
const blockAttributes = {
|
|
|
|
isPreview: {
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
|
|
|
save: false,
|
|
|
|
},
|
|
|
|
showCompanyField: {
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
|
|
|
},
|
|
|
|
requireCompanyField: {
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
|
|
|
},
|
2020-04-21 10:51:11 +00:00
|
|
|
showApartmentField: {
|
2020-03-05 13:06:47 +00:00
|
|
|
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;
|