Line Items for Product Variant

Rahul_Kumar
Shopify Partner
3 0 2

I am working on iOS app with shopify SDK. I am trying to add a custom line item with a product variant, i am able to add it as an option and as an line item for a particular product variant. but after my successful order, it doesn't show on my dev console. Is this how we add line item or custom property with iOS SDK?

Reply 1 (1)
Brent_Gulanowsk
Shopify Staff (Retired)
Shopify Staff (Retired)
52 0 12

I'm not sure what you mean. The Mobile Buy SDK does not support custom line items. The only thing you can do is add a product variant. You cannot change the content of the variant. All the collections, products, variants, options, and option values that you download from Shopify are read-only. You can try to change them, but the changes will be ignored.