Add to cart bar, from the Widgets group of the nertia component library.
Not yet portable: this section runs on nertia today. Export the recipe or open it in nertia.
npm create nersh@latest my-site -- --site https://nertia.ai/components/widgets/add-to-cart-bar/site.json scaffolds a project from it.{
"slug": "add-to-cart-bar",
"mode": "builder",
"status": "draft",
"skinId": "zinc",
"composition": {
"id": "add-to-cart-bar",
"sections": [
{
"id": "add-to-cart-bar",
"instanceId": "stage-add-to-cart-bar"
}
]
},
"copy": {
"stage-add-to-cart-bar.productRef": "",
"stage-add-to-cart-bar.productName": "Studio Hoodie",
"stage-add-to-cart-bar.price": "$68",
"stage-add-to-cart-bar.ctaLabel": "Add to cart",
"stage-add-to-cart-bar.ctaHref": "#checkout"
}
}