I am using the Woocommerce plugin to facilitate a small e-commerce part of a site and need to add products to it's cart via some call or function rather than using it's own 'add-to-cart' buttons.
By this I basically mean send Woocommerce a SKU and quantity for example and have the cart update.
sendToCart('123456', 55);
etc
I've looked through the documentation and can't seem to find a reference to this sort of thing. Can anyone suggest how I might achieve this?
