I am trying to add multiple products to my cart. I have product ids in the form of
$productIds = implode(',', array_column($points, 'productId')); which gives me numeric product ids like this :
5330,3770,4259,5107,6537. I want to put all this products to cart on button click.
Any help ? I am on magento 2