unable to add configurable-product in bagisto.
-
We are unable to add configurable products to cart in bagisto.. as mentioned in documentation we used the following api
/api/checkout/cart/add/ and created json to push item to cart which results in getting 200 response with error proudct_id index of undefined.{
quantity: 1,
is_configurable: false,
selected_configurable_option:$('#variant_id').val(),
super_attribute : {24 : $('#size_id').val(), 35 : $('#flav_id').val() } }
need some guidance please.
-
Hi @sohaib,
Please check here,
https://devdocs.bagisto.com/1.x/api/cart.html#_3-adding-more-products-to-the-same-cart