Site design: the CTA keeps its address, the basket page is optional
Instead of a separate booking page setting, booking links lead to the header button's own address again, and the basket page falls back to that address when it isn't set. Site design warns when the basket's page isn't published or has no Checkout block. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hy2vMnHJYP7QGsiH21zHxW
This commit is contained in:
parent
ec1156b1fa
commit
f20d6777ab
6 changed files with 30 additions and 53 deletions
|
|
@ -101,7 +101,7 @@
|
|||
{@render field('Subheading', block.data.subheading || '', (subheading) => updateData({ subheading }))}
|
||||
<div class="grid gap-x-4 md:grid-cols-2">
|
||||
{@render field('Button label', block.data.buttonLabel || '', (buttonLabel) => updateData({ buttonLabel }))}
|
||||
{@render field('Button URL', block.data.buttonUrl || '', (buttonUrl) => updateData({ buttonUrl }), 'Empty = the booking page')}
|
||||
{@render field('Button URL', block.data.buttonUrl || '', (buttonUrl) => updateData({ buttonUrl }), 'Empty = the CTA button’s address')}
|
||||
</div>
|
||||
{:else if block.type === 'button'}
|
||||
<div class="grid gap-x-4 md:grid-cols-2">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue