How can I get merchandise's sku and title as an input in Cart and Checkout validation function?

Topic summary

Accessing merchandise SKU and product title within Cart and Checkout validation functions in a Shopify app context. The goal appears to be using these fields as inputs to validate items during cart or checkout.

Definitions:

  • SKU: Stock Keeping Unit, a unique identifier for inventory.
  • Validation function: Logic that checks cart/checkout conditions and can allow or block progression.

Status:

  • A single question was posted; no responses, code samples, or attachments were provided.
  • No decisions or action items recorded.

Unanswered points:

  • Which specific cart/checkout validation API or extension is being used.
  • Whether SKU and title are exposed to the validation function’s input payload.
  • How to access item-level properties (e.g., from line items/merchandise objects) at validation time.

Outcome:

  • Discussion remains open with no resolution yet.
Summarized with AI on December 20. AI used: gpt-5.

How can I get merchandise’s sku and title as an input in Cart and Checkout validation function?