- delivery-label renames only options matching the chosen method (en/fr dates) - payment-rules hides COD / pay-in-store for shipped orders - functions matched by handle (fixes guard lookup matching any 'datewise' title) - scopes: write_delivery_customizations, write_payment_customizations Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
504 B
TOML
17 lines
504 B
TOML
api_version = "2026-01"
|
|
|
|
[[extensions]]
|
|
name = "Datewise delivery label"
|
|
handle = "datewise-delivery-label"
|
|
type = "function"
|
|
description = "Shows the customer's chosen pickup or delivery date and time on the matching checkout delivery option."
|
|
|
|
[[extensions.targeting]]
|
|
target = "cart.delivery-options.transform.run"
|
|
input_query = "src/cart_delivery_options_transform_run.graphql"
|
|
export = "cart-delivery-options-transform-run"
|
|
|
|
[extensions.build]
|
|
command = ""
|
|
path = "dist/function.wasm"
|