18 lines
539 B
TOML
18 lines
539 B
TOML
api_version = "2026-01"
|
|
|
|
[[extensions]]
|
|
name = "Datewise payment rules"
|
|
handle = "datewise-payment-rules"
|
|
uid = "d82cedb3-7c04-323e-d61a-dffb67cc08953e909ab7"
|
|
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"
|