# Remove products from PriceAgent files

**URL:** <https://forum.litium.com/t/remove-products-from-priceagent-files/334>\
**Category:** Questions\
**Tags:** litium-6, accelerator\
**Created:** [November 1, 2018, 9:43am UTC](https://forum.litium.com/t/remove-products-from-priceagent-files/334 "2018-11-01T09:43:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cissi](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/cissi/32/18_2.png) [@Cissi](https://forum.litium.com/u/Cissi)\
**Post date:** [November 1, 2018, 9:43am UTC](https://forum.litium.com/t/remove-products-from-priceagent-files/334/1 "2018-11-01T09:43:18Z")

</div>

Is there any way we could extend how the price agent files is created? To remove some products etc.

Litium version: 6.2.1

---

<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:** [November 1, 2018, 10:15am UTC](https://forum.litium.com/t/remove-products-from-priceagent-files/334/2 "2018-11-01T10:15:33Z")

</div>

Yes you can create your own files and override the ordinary files.  
Place them in Litium.Accelerator project because they get resolved first.

Ex.  
[Plugin(“GoogleShopping”)]  
public class GoogleShoppingPriceAgent : IPriceAgent

public class PriceAgentItemFactoryImpl : PriceAgentItemFactory

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [November 1, 2018, 11:50am UTC](https://forum.litium.com/t/remove-products-from-priceagent-files/334/3 "2018-11-01T11:50:30Z")

</div>

Easiest is to make an own implementation of the `PriceAgentItemFactory` that will return null for the products that not should be included in the feed.

The default implementation is `Litium.Web.Products.PriceAgents.PriceAgentItemFactory` from assembly `Litium.Web.Application`, that means that the default implementation not is covered by the rules for backward compatibility so that implementation can be changed, removed without notification.
