# Price history

Content Egg can save the price change points to its own database. Go to `Content Egg > Settings > Price alerts` and make sure the `Price history` option is checked.

![](https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M3fnB7iKYwDc1Xhr3H3%2F-MTVgE2mw325z_J2NgHT%2F-MTVgUL_n8_NtqjRgEtv%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5.png?alt=media\&token=fd68a895-45a3-46f7-bc81-835a19337adc)

Each time the product is updated, the plugin will save the values of the old and new prices to **its own database**. Then, you can display the history of price changes using special general shortcodes:

```
[content-egg-block template=price_history]
```

This shortcode will display data for **the cheapest product on the page**.

![](https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M3fnB7iKYwDc1Xhr3H3%2F-MTVgrGSvRO3UK3mbztS%2F-MTVgwaC9wmrEvNKi5pa%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5.png?alt=media\&token=a6f70a2e-288b-45ba-b39c-508963370a05)

You can also use module shortcodes to display a specific module's data, for example:

```
[content-egg module=Awin template=price_tracker_alert]
```

{% hint style="info" %}
Since the plugin uses its own database, the chart can be displayed only after several price updates.
{% endhint %}

{% hint style="warning" %}
Please note that Amazon's rules prohibit historical price data from being displayed. As such, we don't recommend using this feature for the Amazon module.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ce-docs.keywordrush.com/updating-products/price-history.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
