Question 1: Dynamic Cart Line Attributes
Our use case involves applying discounts based on dynamically named cart line properties, like _offer_version_#{offerId}.
The issue is that the attribute field in the Checkout Functions API requires a hardcoded key, making it impossible for us to access these properties with a variable name. We need to be able to access properties like attribute(key: "offer_version_123") where the 123 is a dynamic value.
Is there a recommended method or a new API feature that allows us to dynamically access cart line properties within a Shopify Function?
------------------------------------------
Question 2: Network Access for Shopify Plus
We’re interested in using the Network Access feature (fetch target) for Discount Functions to perform server-to-server transaction validation.
However, it appears this functionality is currently limited to Enterprise clients. Are there any plans to make the fetch target available for Shopify Plus plans?