# Add prices to products

**URL:** <https://forum.litium.com/t/add-prices-to-products/1391>\
**Category:** Questions\
**Tags:** litium-7\
**Created:** [March 18, 2020, 4:38pm UTC](https://forum.litium.com/t/add-prices-to-products/1391 "2020-03-18T16:38:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![broderickcalpe](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@broderickcalpe](https://forum.litium.com/u/broderickcalpe)\
**Post date:** [March 18, 2020, 4:38pm UTC](https://forum.litium.com/t/add-prices-to-products/1391/1 "2020-03-18T16:38:26Z")

</div>

I have created 3 pricelists with different currencies. The lists have prices for all the products.  
When I select a product in the backoffice, then prices I can’t see any price. Do I need to manually add a pricelist for each product or is there a way using any API to add the pricelists to each product ?

Litium version: _[7.4]_

---

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [March 18, 2020, 4:46pm UTC](https://forum.litium.com/t/add-prices-to-products/1391/2 "2020-03-18T16:46:19Z")

</div>

You need to connect the pricelists to the products, either manually or with integration work or import/export, check also permissions on the pricelists.

---

<div class="post-metadata">

**Author:** ![broderickcalpe](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@broderickcalpe](https://forum.litium.com/u/broderickcalpe)\
**Post date:** [March 18, 2020, 4:58pm UTC](https://forum.litium.com/t/add-prices-to-products/1391/3 "2020-03-18T16:58:19Z")

</div>

Integration work?  
What API’s ?

If you could point me in the right direction.

---

<div class="post-metadata">

**Author:** ![NilsN](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/nilsn/32/302_2.png) [@NilsN](https://forum.litium.com/u/NilsN)\
**Post date:** [March 18, 2020, 5:22pm UTC](https://forum.litium.com/t/add-prices-to-products/1391/4 "2020-03-18T17:22:53Z")

</div>

How did you create the price lists? How do you know the lists have prices?

If you want to add prices manually, go to the Price tab of the product, click on Add to add a pricelist, then enter the price for each variant.

If you want to do it via code, here’s an example of how to add a price for a variant to a pricelist:

```auto
var variant = _variantService.Get(variantId);
var priceList = _priceListService.Get(priceListId);
var priceListItem = _priceListItemService.Get(variant.SystemId, priceList.SystemId).FirstOrDefault()?.MakeWritableClone();

if (priceListItem == null)
{
	priceListItem = new PriceListItem(variant.SystemId, priceList.SystemId)
	{
		Price = 100,
		MinimumQuantity = 0,
	};
	
	_priceListItemService.Create(priceListItem);
}
else
{
	priceListItem.Price = 100;
	priceListItem.MinimumQuantity = 0;
	
	_priceListItemService.Update(priceListItem);
}

```

---

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [March 18, 2020, 5:23pm UTC](https://forum.litium.com/t/add-prices-to-products/1391/5 "2020-03-18T17:23:25Z")

</div>

I am talking about when you import products from some other system for instance with Litium Integration Kit AddOn but in your case you need to handle that with Import/Export in BO since you created the pricelist manually.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [April 15, 2020, 5:23pm UTC](https://forum.litium.com/t/add-prices-to-products/1391/6 "2020-04-15T17:23:30Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
