Hey!
I have a small issue with extension.settings.fields, how can i limit so that a settings.fields will only show up for a specific target? because now when i add the app blocks in both “shipping page” and “thank you page” all these settings appear.
But i would like only the first two to only show for the shipping target, and the last one to only appear on the thank you page, is this possible? else they would be just shown twice on the different blocks.
heres the snippet from my extenstion.toml
[[extensions.targeting]]
module = "./src/Checkout.tsx"
target = "purchase.checkout.shipping-option-item.details.render"
[[extensions.targeting]]
module = "./src/PickupConfirmation.tsx"
target = "purchase.thank-you.customer-information.render-after"
[extensions.settings]
[[extensions.settings.fields]]
key = "door_consent_message"
type = "single_line_text_field"
name = "Door consent message"
description = "Message for the door consent field"
[[extensions.settings.fields]]
key = "pp_not_selected_error"
type = "single_line_text_field"
name = "Error message for no pickup point selected"
description = "Error message when no pickup point is selected"
[[extensions.settings.fields]]
key = "confirmation_message"
type = "single_line_text_field"
name = "Message for pickup confirmation on thank you page"
description = "Shown below the order on the confirmation page"
