# Currency is not transferred to the output feed and some other issues

**URL:** <https://forum.mergado.com/t/currency-is-not-transferred-to-the-output-feed-and-some-other-issues/858>\
**Category:** Feed Image Editor\
**Created:** [July 26, 2023, 2:20pm UTC](https://forum.mergado.com/t/currency-is-not-transferred-to-the-output-feed-and-some-other-issues/858 "2023-07-26T14:20:16Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![yasupuma](https://forum.mergado.com/letter_avatar_proxy/v4/letter/y/90ced4/32.png) [@yasupuma](https://forum.mergado.com/u/yasupuma)\
**Post date:** [July 26, 2023, 2:20pm UTC](https://forum.mergado.com/t/currency-is-not-transferred-to-the-output-feed-and-some-other-issues/858/1 "2023-07-26T14:20:16Z")

</div>

Hi. I ran into a few problems and need your help.

**1.** For some reason the output feed does not pass the currency, only the price numbers. How can I fix this?

**2.** Also faced with the fact that for some reason the system in Elements section does not read all the images and prices from the feed. Is this a bad sign?

**3.** The discount price of the product is not available everywhere in our feed, so template with a discount price does not work properly if the system does not see the discount price (g:sale\_price).  
Is it possible to use a macros or a rule to make the system take data from the g:price field in the absence of the g:sale\_price field?

 ![image](https://forum.mergado.com/uploads/default/original/1X/f56196deb1ebea719a9dd6a6c2f147a206239e77.jpeg)

I will be glad for your help.

---

<div class="post-metadata">

**Author:** ![radim](https://forum.mergado.com/user_avatar/forum.mergado.com/radim/32/1418_2.png) [@radim](https://forum.mergado.com/u/radim)\
**Post date:** [July 27, 2023, 9:16am UTC](https://forum.mergado.com/t/currency-is-not-transferred-to-the-output-feed-and-some-other-issues/858/2 "2023-07-27T09:16:14Z")

</div>

Hello @yasupuma ,  
thank you for your questions.

ad.1 Currency  
The currency is removed by the converter. To get it back, you can create a rule to add the currency back to the g:price, and a second rule to add the currency back to g:sale\_price. Follow these steps:

1. In Mergado Editor, create a new rule on the Rules page

2. Fill in the rule form based on the screenshot and click Create:  

3. Create a second rule with these settings:  

4. When finished, Click _Apply rules_ button on the Rules page to see the changes in Mergado Editor, when finished, you should see prices with currency on the Products page.

5. To update the output feed, remember that you need to regenerate the project (Settings \> Regeneration \> Regenerate changed)

---

<div class="post-metadata">

**Author:** ![yasupuma](https://forum.mergado.com/letter_avatar_proxy/v4/letter/y/90ced4/32.png) [@yasupuma](https://forum.mergado.com/u/yasupuma)\
**Post date:** [July 27, 2023, 10:23am UTC](https://forum.mergado.com/t/currency-is-not-transferred-to-the-output-feed-and-some-other-issues/858/3 "2023-07-27T10:23:16Z")

</div>

Thank you, radim, it worked. I will wait for the answers to the second and third point.

---

<div class="post-metadata">

**Author:** ![radim](https://forum.mergado.com/user_avatar/forum.mergado.com/radim/32/1418_2.png) [@radim](https://forum.mergado.com/u/radim)\
**Post date:** [July 27, 2023, 10:49am UTC](https://forum.mergado.com/t/currency-is-not-transferred-to-the-output-feed-and-some-other-issues/858/4 "2023-07-27T10:49:06Z")

</div>

ad.2 Elements

On the Elements page, if the numbers that you see on the right are not adequate to the number of products in your feed, please bare in mind that the numbers represent a number of individual values. This means that e.g. a value 100 in the g:price element can appear in more that one product. So you have e.g. 1000 products, but only 250 values in g:price element, because multiple products share the same g:price value.

I hope this answers your question. If not, can you maybe share more details?

---

<div class="post-metadata">

**Author:** ![radim](https://forum.mergado.com/user_avatar/forum.mergado.com/radim/32/1418_2.png) [@radim](https://forum.mergado.com/u/radim)\
**Post date:** [July 27, 2023, 10:59am UTC](https://forum.mergado.com/t/currency-is-not-transferred-to-the-output-feed-and-some-other-issues/858/5 "2023-07-27T10:59:33Z")

</div>

ad.3  
The solution is to create 2 product groups (queries) in Mergado Editor.

- a group of discounted products (g:sale\_price is not empty)  
see screenshot  

- a group of not discounted products (g:sale\_price is empty)  
see screenchot  

Then in Feed Image Editor, you create 2 templates.

- First template applied to **Not discounted products** , where you will use g:price to be displayed on the image
- Second template applied to **Discounted products** , where you will use g:sale\_price to be displayed on the image

Let me know if this will work.

---

<div class="post-metadata">

**Author:** ![yasupuma](https://forum.mergado.com/letter_avatar_proxy/v4/letter/y/90ced4/32.png) [@yasupuma](https://forum.mergado.com/u/yasupuma)\
**Post date:** [July 29, 2023, 12:05pm UTC](https://forum.mergado.com/t/currency-is-not-transferred-to-the-output-feed-and-some-other-issues/858/6 "2023-07-29T12:05:37Z")

</div>

Hello, Radim! It worked. Thank you very much. But I have a question: Why does the total number of products in FIE exceed the total number in the Products tab?

 ![screenshot_10](https://forum.mergado.com/uploads/default/original/1X/6426a14fe9b32554240444f86c891fafc836aa84.png)

**Offtop:** I realized that I can no longer edit my previous posts, and this has become a problem because I accidentally posted confidential information there. Can you please assist me in removing or blurring out any sensitive data in the screenshots? Alternatively, can you grant me permission to edit my own posts? Or please tell me where I can go with this question.

---

<div class="post-metadata">

**Author:** ![radim](https://forum.mergado.com/user_avatar/forum.mergado.com/radim/32/1418_2.png) [@radim](https://forum.mergado.com/u/radim)\
**Post date:** [August 2, 2023, 6:26am UTC](https://forum.mergado.com/t/currency-is-not-transferred-to-the-output-feed-and-some-other-issues/858/7 "2023-08-02T06:26:39Z")

</div>

Dear @yasupuma  
I don’t see any templates in your project currently, so I cannot check, but it could be due to incorrect conditions used. Feel free to send me more information.

Regarding previous post edits, you should be able to edit your own posts. If not, let me know which screenshots to remove.

---

<div class="post-metadata">

**Author:** ![radim](https://forum.mergado.com/user_avatar/forum.mergado.com/radim/32/1418_2.png) [@radim](https://forum.mergado.com/u/radim)\
**Post date:** [August 2, 2023, 7:11am UTC](https://forum.mergado.com/t/currency-is-not-transferred-to-the-output-feed-and-some-other-issues/858/8 "2023-08-02T07:11:45Z")

</div>

My apologies, I was looking into the wrong project.  
The different numbers in Mergado Editor and Feed Image Editor apps are due to a delay in information flow between the two apps. The correct number of products in each product group (query) is always in Mergado Editor.

 ![screenshot-app.mergado.com-2023.08.02-08_56_04](https://forum.mergado.com/uploads/default/original/1X/7e6488bcf162a1b9d38c194afb85895ae9e287f9.png)

---

<div class="post-metadata">

**Author:** ![yasupuma](https://forum.mergado.com/letter_avatar_proxy/v4/letter/y/90ced4/32.png) [@yasupuma](https://forum.mergado.com/u/yasupuma)\
**Post date:** [August 4, 2023, 4:58pm UTC](https://forum.mergado.com/t/currency-is-not-transferred-to-the-output-feed-and-some-other-issues/858/9 "2023-08-04T16:58:26Z")

</div>

Thank you very much.

I need to replace the screenshots in the current topic and [this one](https://forum.mergado.com/t/the-app-does-not-see-images-from-the-feed/782).

I have attached the edited versions:

 ![Screenshot_001](https://forum.mergado.com/uploads/default/original/1X/a1337ffdfa22a0946a7396d1367571599c3e72fc.jpeg)

---

<div class="post-metadata">

**Author:** ![yasupuma](https://forum.mergado.com/letter_avatar_proxy/v4/letter/y/90ced4/32.png) [@yasupuma](https://forum.mergado.com/u/yasupuma)\
**Post date:** [August 4, 2023, 4:59pm UTC](https://forum.mergado.com/t/currency-is-not-transferred-to-the-output-feed-and-some-other-issues/858/10 "2023-08-04T16:59:00Z")

</div>

Another one:

 ![Screenshot_002](https://forum.mergado.com/uploads/default/original/1X/181c3d4378a48ae7e10d6249ad6264acd61b7752.png)

---

<div class="post-metadata">

**Author:** ![marekdanko](https://forum.mergado.com/user_avatar/forum.mergado.com/marekdanko/32/18_2.png) [@marekdanko](https://forum.mergado.com/u/marekdanko)\
**Post date:** [August 7, 2023, 8:33am UTC](https://forum.mergado.com/t/currency-is-not-transferred-to-the-output-feed-and-some-other-issues/858/11 "2023-08-07T08:33:06Z")

</div>

> [@yasupuma](#):
>
> I need to replace the screenshots in the current topic and [this one](https://forum.mergado.com/t/the-app-does-not-see-images-from-the-feed/782).

Hi @yasupuma , I have edited it for you in both topics.
