hi,
I need to update a product's quantity in the class EditCartSubmitAction, but I'm confused and don't find anything to do this.
something like
product.setQuantity(0);
save(product)
would be very useful.
How do you suggest me to do it? where to look?
thanks,
gabi
There is an application API call ( updateInventory() ) to adjust the inventory with respect to an order.
To edit the product quantity directly, you must have administrator privileges and use the Admin API. Call getProduct(), edit the quantity and then call editProduct().
Hello,
I want to update my product from api/services for all language in konakart. Could you please tell me the service name which updates automatically in all language corresponding to product.
Thanks,
sachchidanand
You can use the KKAdminIf API call, editProductWithOptions().
Thanks julie for the update,
Can we pass each language id in editProductswithOption() service. We have 4 language defined at konakart admin end. I want to update each product language tabs.
Could you please suggest me the same.
Thanks
You pass an array of description objects. One for each language.