# Show discounted prices on the collection page

{% embed url="<https://youtu.be/wFeYdUWt1Ts>" %}

***

For the written guide - you can follow the instructions below.

1. Copy the code from [here](https://pastefy.app/q5tyv4Gx) and then create a new snippet in your theme files called `dollarlabs-price.liquid`&#x20;

   <figure><img src="/files/1w3Gqb2WQeeGVa84h5cH" alt=""><figcaption></figcaption></figure>

2. Most collection pages use something like a `card-product` or similar to loop over the items in the collection and render as product cards. Find that file for your theme and then replace the `{% render 'price' %}`  line with the [code here](https://pastefy.app/dkb26RFX)<br>

   <figure><img src="/files/xk6XCfBPwzwp9Vy988Jh" alt=""><figcaption></figcaption></figure>

3. You might have to change the variable name of `card_product` to the one that your theme uses to render the price. Once saved, you will see the change show up on your theme <br>

   <figure><img src="/files/SVA1bnEreF9w7EBGnXfT" alt=""><figcaption></figcaption></figure>

***

If you need help with any of the steps mentioned in this article, please feel free to reach out at <support@dollarlabs.io> or find a time with us on [our calendar](https://cal.com/lesle/30min).

We are here to help :smile:


---

# 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://help.dollarlabs.io/dollarlabs-ultimate-discounts/offer-engine-formerly-price-lists/show-discounted-prices-on-the-collection-page.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.
