Add product to cart for user – WC()->cart->add_to_cart

Question

I’m trying to add a product to the cart for a user. I am using WC()->cart->add_to_cart. But it’s not working, I checked docs, but nothing found there,

I just wanted to add to cart product on specific user id.

0
Arun Sharma 2 years 2020-12-28T09:10:35-05:00 0 Answers 3 views 0

Leave an answer

Browse
Browse