Updating Product Price

New Member
4 0 0

Hi shopify community!

My question is that i'm creating product bundles for my online store, so the scenario is that I have 3 products in a bundle and there is some discount on that products and there is an add to cart button, when I click on that button all products will be added in to cart, but I need to put some discount before adding to cart on each of these products. Currently I'm using cart api's to add all these products at a same time in cart but don't know how to set discount on each product individually before adding in a cart. Is there any way to do that by using cart api.