@amastyltd/saas-app-storefront-custom-form-builder
v1.0.0
Published
Amasty Custom Form Builder block for AEM Edge Delivery Services + Adobe Commerce.
Downloads
93
Readme
@amastyltd/saas-app-storefront-custom-form-builder
Installable package for Adobe Commerce Storefront (EDS) that adds the amasty-custom-form-builder block and supporting scripts.
What gets installed
blocks/amasty-custom-form-builder/*scripts/amasty-custom-form-builder/*
The package does not modify scripts/initializers/index.js.
Install
npm install @amastyltd/saas-app-storefront-custom-form-builderConfigure endpoint
The block fetches data from config key:
public.default.amasty["custom-form-builder-endpoint"]
Run interactive setup:
npx storefront-custom-form-builder-configureOr configure manually in config.json and demo-config.json:
{
"public": {
"default": {
"amasty": {
"custom-form-builder-endpoint": "https://example.com/graphql"
}
}
}
}Block usage
Add a block table with name amasty-custom-form-builder and a form-id setting in the block config.
Local package validation
npm pack --dry-run