Allow Product Add-ons to be added programatically from a PHP class method or via a URL attribute
At present there’s no way to programatically add a Product add-on. Seems inconsistent with what WC offers out of the box with variants and attributes.
Current Status
Open
Last updated: June 7, 2016
4 comments
Log in to comment on this feature request.
Is this still not possible? I just picked up this plugin in order to do this exact thing since the order is being constructed from a mobile application.
I would as well like to link directly to a specific WooCommerce product with selected add-ons already set up, in a way that uses variables – oursite.com/dynamic-hosting-product/?CPU_Cores=2&GB-RAM=3. We frequently need to send emails to customers directing them buy specific configurations of our hosting products, and it would be helpful to be able to send them directly to a specific variation without them having to enter it in themselves.
I need this
This is indeed a important feature to come.
A hook/action for this should be easy to build.