From fd2956f80bb0a672db43e0b268c42643ec559ac1 Mon Sep 17 00:00:00 2001 From: jponce92 <85529282+jponce92@users.noreply.github.com> Date: Mon, 7 Jun 2021 17:21:34 -0600 Subject: [PATCH] Update wc-gc-integration.gs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, I added a field to my page using a Custom Checkout fields plugin, i´m trying to pull the info in the custom field to the google sheets file, everything is working fine but instead of the value that the customer entered, it shows "undefined" in google sheets, please help, how do i get those custom fields importes into google sheest as well? just as it does with the name, value, products, etc. --- wc-gc-integration.gs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wc-gc-integration.gs b/wc-gc-integration.gs index 35e7522..2fa665f 100644 --- a/wc-gc-integration.gs +++ b/wc-gc-integration.gs @@ -138,6 +138,8 @@ function fetch_orders(sheet_name) { a = container.push(params[i]["status"]); a = container.push(params[i]["order_key"]); + + a = container.push(params[i]["CUSTOMFIELD"]); var doc = SpreadsheetApp.getActiveSpreadsheet();