Whenever I get a new order I would like to take line items from those orders and put them into certain cells on my Google spreadsheet.
For example, if Customer A orders 1 meatball dish and 2 apple crisps, the spreadsheet row would update with their name and a quantity of 1 in the meatball column and a 2 in the apple crisp column.
If Customer B orders 3 pasta dish and 1 meatball dish, the spreadsheet would show 3 under pasta and 1 under meatball.
I’ve tried to use line items as output, but depending on the order line item 1 could be a meatball dish, an apple crisp, or a pasta dish.
Is there a way to look at the order see that a line item contains a certain product and put that products quantity until the correct cell? Thanks!