datewise/extensions/payment-rules/shopify.extension.toml
metatroncubeswdev 85ed1a8f0e feat: delivery-label and payment-rules checkout functions with Settings toggles
- 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>
2026-10-13 21:21:55 -04:00

17 lines
486 B
TOML

api_version = "2026-01"
[[extensions]]
name = "Datewise payment rules"
handle = "datewise-payment-rules"
type = "function"
description = "Hides cash-on-delivery and pay-in-store payment methods when the customer chose shipping."
[[extensions.targeting]]
target = "cart.payment-methods.transform.run"
input_query = "src/cart_payment_methods_transform_run.graphql"
export = "cart-payment-methods-transform-run"
[extensions.build]
command = ""
path = "dist/function.wasm"