# Get hits with list of single variant with the lowest price of that base product

**URL:** <https://forum.litium.com/t/get-hits-with-list-of-single-variant-with-the-lowest-price-of-that-base-product/138>\
**Category:** Questions\
**Tags:** litium-5\
**Created:** [July 2, 2018, 8:45am UTC](https://forum.litium.com/t/get-hits-with-list-of-single-variant-with-the-lowest-price-of-that-base-product/138 "2018-07-02T08:45:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![binish.bridge](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@binish.bridge](https://forum.litium.com/u/binish.bridge)\
**Post date:** [July 2, 2018, 8:45am UTC](https://forum.litium.com/t/get-hits-with-list-of-single-variant-with-the-lowest-price-of-that-base-product/138/1 "2018-07-02T08:45:36Z")

</div>

Litium version: 5.5.1

I have one requirement to get a single variant of a base product on search. Now I am getting different variants of the same base-product. So in the product details page, we can see the same product that also in the product list.

My question is whether we can get hits with a single variant. Exactly- single variant with the lowest price of that base product?

---

<div class="post-metadata">

**Author:** ![marten](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/marten/32/11_2.png) [@marten](https://forum.litium.com/u/marten)\
**Post date:** [July 4, 2018, 11:28am UTC](https://forum.litium.com/t/get-hits-with-list-of-single-variant-with-the-lowest-price-of-that-base-product/138/2 "2018-07-04T11:28:03Z")

</div>

Is it an option to set url on baseproduct-level instead of variant level and then just select do display your desired variant in search result?

Are you using the accelerator? Then another option is to group variants in listings with `_templateSettingService.SetTemplateGroupings(item.TemplateId, item.GroupingFieldId);`, this can also be defined in Litium BO:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/503123e063e173bdf914320a9937c266cfeda3be.png)

_Currently [there is a bug](https://docs.litium.com/support/bugs/bug_details?id=42467) when setting this from backoffice UI, not sure if that bug is also in your version._

See also the related question [Group variants on category page](https://forum.litium.com/t/group-variants-on-category-page/202)
