Difference between revisions of "WooCommerce"

From UVOO Tech Wiki
Jump to navigation Jump to search
imported>Jeremy-busk
 
(No difference)

Latest revision as of 02:26, 24 January 2019

WooCommerce WP CLI Tool

wp wc

wp wc customer create --email='me@woo.local' --user=1 --billing='{"first_name":"Justin","last_name":"S","company":"Automattic"}' --password='he llo'
wp wc customer get 2 --user=1
wp wc product create --name='Product Name' --categories='[ { "id" : 21 } ]' --user=1

References