Skip to content

Instantly share code, notes, and snippets.

@bavamca
Last active July 23, 2019 08:18
Show Gist options
  • Save bavamca/6f8a08a3e6752e7ee83082ae1b46f597 to your computer and use it in GitHub Desktop.
Save bavamca/6f8a08a3e6752e7ee83082ae1b46f597 to your computer and use it in GitHub Desktop.
Task
<title>Task</title>

Mailigen

Task List

	1.Create Base Plugin()
			-Setting 
				1.APIKEY(Need to store in WP Options)
				2.List the Mailigen Subscriber List's (User Select the any 	
				one of the list from mailigen , the customer data pushed to 
				that particular Mailigen List)
2.Create PHP Wrapper file(Include with the Plugin)
    - getList()
    - createCustomer()
    - getCustomer()
    - listCustomer()
    - createOrder()
    - createProduct()
    - createCart()
    - deleteCart()
    - sendResponse()
    - sendError()
3.Customer Singup
     - Sync Existing Customer
		     - By WpCron (Queue) need to Analyze
     - Push New Customer At the time of Register
4.Product 
		- Sync Products (Need to store product_id in mailigen or store 		
		 Mailigen Product Id to Woo Product Meta)
5.Orders
    - Sync Existing Order 
		     - By WpCron (Queue) need to Analyze
	- Push New Order (With Customer, Product Data's)
6.Cart
	- Sync Cart Details into Mailigen Cart 
	- If the Order Placed successfully need to delete the Cart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment