import-from-airtable-to-woocommerce-v1

v1.js

Imports from airtable to woocommerce. Imports products to woocommerce.
Should be run with command line arguments.

Example:
node import-from-airtable-to-woocommerce-v1.js \
wc-api-url=https://SITE/wp-json/wc/v3 \
wc-consumer-key= \
wc-consumer-secret= \
type=product \
airtable-base-name= \
airtable-table-name=Pricelist \
airtable-view-name=wordpress \
airtable-table-key=Model \
airtable-key-name=wp \
airtable-key-value=publish

ac-apps-minimal-utils-object

utils/object.js

Helps to work with JS objects. Like finding existing items, whether an item has been changed, or converting item keys to propercase.

Example:
app.utils.object.keyProperCase(object);
app.utils.object.changed(leftObject, rightObject, arrayOfKeysToMatch);
app.utils.object.exists(object, key, value);

A module for ac-bundle-app, published by ac-bundle-module.

Install from:…

ac-apps-minimal-api-woo

api/woo.js

Makes it easy to work with the WooCommerce API and perform tasks such as fetching and updating products. Fetches all records/products if page number not provided.

Example:
app.api.woo.getProducts(options);
app.api.woo.updateProduct(options, product);

A module for ac-bundle-app, published by ac-bundle-module. namespace: ac-apps-minimal…

ac-apps-minimal-enhance-string

enhance/string.js

Converts strings to camelcase or propercase.

Example:
app.camelCase("this line should be camel case.")
app.properCase("this line should be proper case.")

A module for ac-bundle-app, published by ac-bundle-module.

Install from:

https://www.npmjs.com/package/ac-apps-minimal-enhance-string
https://github.com/animatedcreativity/ac-apps-minimal-enhance-string

Available Methods: start

start

function() {
  app.camelCase = function

ac-apps-minimal-enhance-console

enhance/console.js

Specifies colors for using in console log. Contains both forground and background colors too.

List: reset, bright, dim, underscore, blink, reverse, hidden, fgBlack, fgRed, fgGreen, fgYellow, fgBlue, fgMagenta, fgCyan, fgWhite, fgGray, bgBlack, bgRed, bgGreen, bgYellow, bgBlue, bgMagenta, bgCyan, bgWhite,

ac-apps-minimal-enhance-argv

enhance/argv.js

Read command line arguments and parse only the required ones. Arguments can be specified in key=value format. Example: airtable-api-key=XXXXXXXX_XXXXXXXXX airtable-base-name=XXXXXXXX … The arguments are further checked and verified by the needed scripts.

A module for ac-bundle-app, published by ac-bundle-module. …

ac-bundle-module-frontend-modules-translation

frontend/modules/translation.js

A module for ac-bundle-app, published by ac-bundle-module.

Available Methods: languages, elements, key, default, userLanguage, language, select, load, start

languages


elements

[object Object]
key

getter
default

English
userLanguage

getter
language

getter
select

function(language) {
  for (var key in mod.keywords) {

ac-bundle-module-frontend-modules-storage

frontend/modules/storage.js

A module for ac-bundle-app, published by ac-bundle-module.

Available Methods: get, set

get

function(key, type) {
  if (!app.has(type)) type = "local";
  return window[type + "Storage"].getItem(key);
}

set

function(key, value, type) {
  if (!app.has(type)) type = "local";
  window[type + "Storage"].setItem(key, value);