📝 Order additional Info (Cart Attributes/Cart Note/Line Item Properties)
-
Describe what “Cart Attributes”, “Cart Notes”, and “Line Item Properties” are, and explain the differences between them.
-
Could you provide some examples of scenarios in which we can use each of these, and explain why?
-
Where are these data displayed on an order page?
-
Is it possible to add this data using the Shopify Cart API?
-
Describe what “private properties” and “attributes” are and how they can be implemented in the store.
🎖️Tasks:
Using the Shopify Dawn theme:
🤹 Integrate an additional input field on the Product Detail Page (PDP) to allow customers to add Line Item Property to their product.**
❗ Create an option named “Gift Box” where users can choose between “Yes” or “No”
❗This selection should be made through a select input method on the PDP, allowing customers to specify whether they want a gift box for their product.
🤹 Implement an additional text input field on the cart page, enabling customers to input text as per their preference.**
❗This field should be specifically designed to capture a cart attribute with the key “Box_sign”.
When customers enter text into this field, it should be stored as a value for the “Box_sign” cart attribute.