# Using the Marker field on discounts

**URL:** <https://forum.litium.com/t/using-the-marker-field-on-discounts/3232>\
**Category:** Questions\
**Tags:** litium-8\
**Created:** [March 21, 2024, 2:41pm UTC](https://forum.litium.com/t/using-the-marker-field-on-discounts/3232 "2024-03-21T14:41:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![felixfroberg](https://avatars.discourse-cdn.com/v4/letter/f/4bbf92/32.png) [@felixfroberg](https://forum.litium.com/u/felixfroberg)\
**Post date:** [March 21, 2024, 2:41pm UTC](https://forum.litium.com/t/using-the-marker-field-on-discounts/3232/1 "2024-03-21T14:41:16Z")

</div>

I am trying to figure out how we can use the new (Litium 8) Marker fields on campaigns. From what I understand it is meant to display campaign info such as “Buy 4 get one for free” on the product page/in lists. Found [this thread](https://forum.litium.com/t/get-campaign-discount-information-on-product/2241/3) with some info on the topic. I am able to fetch all lists in which the product is, but I am not able to find all discounts based on that list.

I think it could be solved by looping through all discounts and finding those that are active and of correct type (_Buy x products, get discount on the cheapest_ and _Mix and match_). This would require a method that allows me to get all discounts at once, which I am unable to find.

Am I missing something here, or is this just not implemented in Litium yet?

Litium version: _8.15.5_

---

<div class="post-metadata">

**Author:** ![Totte](https://avatars.discourse-cdn.com/v4/letter/t/c5a1d2/32.png) [@Totte](https://forum.litium.com/u/Totte)\
**Post date:** [April 3, 2024, 11:56am UTC](https://forum.litium.com/t/using-the-marker-field-on-discounts/3232/2 "2024-04-03T11:56:41Z")

</div>

Dataservice can be used to fetch all the discounts

---

<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:** [May 1, 2024, 11:57am UTC](https://forum.litium.com/t/using-the-marker-field-on-discounts/3232/3 "2024-05-01T11:57:00Z")

</div>

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