Tag: WORDPRESS

apps

import-from-woocommerce-to-fortnox-cron-v1

v1.js

Cron to perform multiple imports from woocommerce to fortnox. Imports orders to fortox.
Should be run with command line arguments.

Example:
node import-from-woocommerce-to-fortnox-cron-v1.js \
conf-airtable-base-name= \
conf-airtable-table-name= \
conf-airtable-view-name= \
conf-airtable-api-key= \
conf-airtable-table-key= \
conf-airtable-key-name= \
conf-airtable-key-value= \
type=order \
fn-api-url= \
fn-client-secret= \
fn-access-token= \
optional:
console-key=my-console-key
console-prefix=import-from-woocommerce-to-fortnox-v1

Check also: https://console.ylo.one/

Airtable configuration schema table example: https://airtable.com/shrOSB0DFqir5c46L/tblL26Ms8WZWh6Uh0

Help: Coming soon! 😀

An app bundled by ac-bundle-app, published by ac-bundle-module. namespace: import-from-woocommerce-to-fortnox-cron

Available Methods: start, startUps, workerStartUps, callbacks, api, build, cron, parseArgv, console, exit, consoleColors, camelCase, properCase, workers, enhance, publish, utils, has

apps

import-from-woocommerce-to-fortnox-v1

v1.js

Imports from woocommerce to fortnox. Imports orders to fortnox. You can also import a single order by specifying wc-order-number.
Should be run with command line arguments.

Example:
node import-from-woocommerce-to-fortnox-v1.js \
wc-api-url=https://SITE/wp-json/wc/v3 \
wc-consumer-key= \
wc-consumer-secret= \
type=order \
fn-api-url= \
fn-client-secret= \
fn-access-token= \
wc-order-number=XXXXXX \
optional:
console-key=my-console-key
console-prefix=import-from-woocommerce-to-fortnox-v1

Help: Coming soon! 😀

An app bundled by ac-bundle-app, published by ac-bundle-module. namespace: import-from-woocommerce-to-fortnox

Available Methods: start, startUps, workerStartUps, callbacks, api, build, parseArgv, console, exit, consoleColors, camelCase, properCase, enhance, publish, sync, utils, has

apps

import-from-airtable-to-woocommerce-cron-v1

v1.js

Cron to perform multiple imports from airtable to woocommerce. Imports products to woocommerce.
Should be run with command line arguments.

Example:
node import-from-airtable-to-woocommerce-cron-v1.js \
conf-airtable-base-name= \
conf-airtable-table-name= \
conf-airtable-view-name= \
conf-airtable-api-key= \
conf-airtable-table-key= \
conf-airtable-key-name= \
conf-airtable-key-value= \
cron-airtable-base-name= \
cron-airtable-table-name= \
cron-airtable-view-name= \
cron-airtable-api-key= \
cron-airtable-table-key= \
cron-airtable-key-name= \
cron-airtable-key-value= \

console-key is read from airtable column itself. console-prefix is built automatically using both conf and cron keys.
Check also: https://console.ylo.one/

Airtable configuration schema table example: https://airtable.com/shrOSB0DFqir5c46L/tblL26Ms8WZWh6Uh0
Airtable cron schema table example: https://airtable.com/shrgvXVaLXQX1R7kU/tblyc4T3h51AxaUf8

Help: Coming soon! 😀

An app bundled by ac-bundle-app, published by ac-bundle-module. namespace: import-from-airtable-to-woocommerce-cron

Available Methods: start, startUps, workerStartUps, callbacks, api, build, cron, parseArgv, consoleColors, camelCase, properCase, workers, enhance, publish, utils, has

apps

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 \
import-fields=Model+sku,regular_price_sek+regular_price \
airtable-api-key=keyUuJlo2wY5OZBxg
optional:
console-key=my-console-key
console-prefix=import-from-airtable-to-woocommerce-v1

Help: Coming soon! 😀

An app bundled by ac-bundle-app, published by ac-bundle-module. namespace: import-from-airtable-to-woocommerce

Available Methods: start, startUps, workerStartUps, callbacks, api, build, parseArgv, console, exit, consoleColors, camelCase, properCase, workers, enhance, publish, sync, utils, has

modules

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

Available Methods: updateOrder, list, updateProduct, getLoadedProduct, getProduct, getProducts, getOrders

Blog

How to create a WordPress blog post using WP CLI (remote too)

We can create a WordPress blog post using WordPress CLI (Command line interface) tool: wp-cli Please follow the installation instructions for your system on this page: https://wp-cli.org/ After we have installed, we can use the wp command now. We can also use this command to create a blog post even if the blog is on …

Blog

How to escape comma when importing WooCommerce products?

After spending some time on searching on Google and reading some WooCommerce forums I found out that it was much easier than expected. Do not use quotes or %2C. Just escape the comma using a backslash like \, That’s all! It will work like a charm. I had to replace all commas to \, on …

Blog

Switched my Blog from SquareSpace.com to WordPress on Vultr.

switched to wordpress from squarespace

SquareSpace.com is beautiful indeed, but misses a lot of features even today and its much costlier than a small VPS server. So, switched to WordPress and found a beautiful theme for my blog. Vultr server I bought costs just $2.5 per month and I can do a lot more with it than just SquareSpace.