Hey,
I am developing a feature which automatically adds product on the checkout page on afterload.
For that, I am storing the cart object and restoring the cart object on the checkout page. Restoring process is noting but looping over the cart product. So while looping over PPOM product it’s adding the child products as well.
I need to provide support to your plugin.
Can you provide me any filter/action which accepts the PPOM object or product_id and which will add products as same as you are doing on clicking of add_to_cart button?
Your help is much appreciated.
Looking forward to hearing from you.
Thanks.