While the attributes are now being passed with the line items, because they are nested items there appears to be no simple way in Zapier to grab the particular list of selected options for a given line item. I've asked Zapier support for help several times and tried writing some Javascript to explore how to grab what I need, but because I have no visibility into the raw (JSON?) data, I'm at an impasse. Basically, I need a flattened list for each line item from the cart… (this is what I sent to Zapier to explain things - Yellow is what I need) Any thoughts??
Dean Vizer
•
May 4, 2021
Bruce Dunnan: You can use the built in Zapier function of Line-Itemizer to merge those field together. Zapier have an example here - https://zapier.com/help/create/format/create-line-items-in-zaps#line-itemizer From an Order in Siteglide if you create a line item group and property, then in the property value add “Product Data Attributes Attribute Option Name” then it will give you the values highlighted in yellow in your image
Bruce Dunnan
•
May 4, 2021
Dean Vizer I'm using Line Itemizer and that's where the problem arises. You can get Line Itemizer to loop through line items (1st level) without a hitch. However, if you add the "Product Data Attributes Attribute Option Name", it then munges that line item list with a list of all the attributes selected instead of assigning the "array sets" to those line items that have attributes.
Dean Vizer changed status to Completed
•
Apr 29, 2021
The existing endpoints have been updated to include the attributes on orders. Fields for information such as discount codes and tax have also been added to the order.
Log in to comment and vote
Comments6
Bruce Dunnan
May 4, 2021
While the attributes are now being passed with the line items, because they are nested items there appears to be no simple way in Zapier to grab the particular list of selected options for a given line item.
I've asked Zapier support for help several times and tried writing some Javascript to explore how to grab what I need, but because I have no visibility into the raw (JSON?) data, I'm at an impasse.
Basically, I need a flattened list for each line item from the cart…
(this is what I sent to Zapier to explain things - Yellow is what I need)
Any thoughts??
Dean Vizer
May 4, 2021
Bruce Dunnan: You can use the built in Zapier function of Line-Itemizer to merge those field together. Zapier have an example here - https://zapier.com/help/create/format/create-line-items-in-zaps#line-itemizer
From an Order in Siteglide if you create a line item group and property, then in the property value add “Product Data Attributes Attribute Option Name” then it will give you the values highlighted in yellow in your image
Bruce Dunnan
May 4, 2021
Dean Vizer
I'm using Line Itemizer and that's where the problem arises. You can get Line Itemizer to loop through line items (1st level) without a hitch. However, if you add the "Product Data Attributes Attribute Option Name", it then munges that line item list with a list of all the attributes selected instead of assigning the "array sets" to those line items that have attributes.
Apr 29, 2021
The existing endpoints have been updated to include the attributes on orders. Fields for information such as discount codes and tax have also been added to the order.
Apr 27, 2021
Apr 15, 2021