add to cart
# 🤝help
b
may I make my bot suggest products on the website and "do you want me to add products to your cart?" question, if the answer is yes adds it tot he woocommerce cart?
a
Hey @brave-market-14640 , this depends on what kind of eCommerce system you're using. Typically they have some kind of API that you can call with the product ID and user ID to add it to their cart, though this depends entirely on the eCommerce system. I'd recommend looking into the API docs for your eCommerce system and see if they have any sample code you can copy and run in an "Execute Code" card.
41 Views