Add product with an product addon programatically
Created by: johncarter-
Hi
First, thanks for putting this up, this is a great plugin and your modifications have made it nearly perfect for my use.
I have one question, how would I go about using this plugin to add a product to cart programtically? Is it even possible? I know that Woocommerce has the ability to add products like so:
public function add_to_cart( $product_id, $quantity, $variation_id = '', $variation = '', $cart_item_data = array() ) {
How would the product add ons be parsed in this function?