# Problem with export of goods after application of the rules

**URL:** <https://forum.mergado.com/t/problem-with-export-of-goods-after-application-of-the-rules/1022>\
**Category:** Feed Image Editor\
**Tags:** feed-image-editor, rules\
**Created:** [July 15, 2024, 12:08pm UTC](https://forum.mergado.com/t/problem-with-export-of-goods-after-application-of-the-rules/1022 "2024-07-15T12:08:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnews](https://forum.mergado.com/letter_avatar_proxy/v4/letter/m/53a042/32.png) [@mnews](https://forum.mergado.com/u/mnews)\
**Post date:** [July 15, 2024, 12:08pm UTC](https://forum.mergado.com/t/problem-with-export-of-goods-after-application-of-the-rules/1022/1 "2024-07-15T12:08:21Z")

</div>

I have customised my feed by applying some rules for g:price and g:sale\_price:

- rounding numbers with thousands separator
- currency sign change

In order for the output feed to load without errors in Meta I put these rules back after the Feed Image Editor rules. At the first manual export everything was fine. But the problem is that on the next automatic export by chart the Feed Image Editor rules went down to the bottom and my first rules for feed customisation were not actually applied

My main desire is to make beautiful customised product cards. For this purpose I need to apply rules, but with the application of rules the feed is not loaded in Meta Commerce Manager.

 ![Rules-Click-ua-Facebook-com-UA-Mergado (2)](https://forum.mergado.com/uploads/default/original/2X/8/8950df5091cac5fa7e636e67da3e7feb4a733d46.png)  
 ![Rules-Click-ua-Facebook-com-UA-Mergado (1)](https://forum.mergado.com/uploads/default/original/2X/c/cad52f77a66323e0f7247073acfe3231a56be743.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:** [July 15, 2024, 12:19pm UTC](https://forum.mergado.com/t/problem-with-export-of-goods-after-application-of-the-rules/1022/2 "2024-07-15T12:19:09Z")

</div>

Hey @mnews ,

the trick here is to create new custom elements (let’s say “fie:price” and “fie:sale\_price”), then copy values from g:price and g:sale\_price to those elements and further apply rounding rules and changing currency rules to those elements.

Later on, in Feed Image Editor you gonna use elements “fie:price” and “fie:sale\_price” to generate price to images, while at the same time, elements g:price and g:sale\_price remain original format and Meta gonna scrape them without any problems.

---

<div class="post-metadata">

**Author:** ![mnews](https://forum.mergado.com/letter_avatar_proxy/v4/letter/m/53a042/32.png) [@mnews](https://forum.mergado.com/u/mnews)\
**Post date:** [July 16, 2024, 8:06am UTC](https://forum.mergado.com/t/problem-with-export-of-goods-after-application-of-the-rules/1022/3 "2024-07-16T08:06:06Z")

</div>

Thanks for the advice! That really helped. But the following problem occurred when uploading the feed to Meta. The problem is that Meta cannot read the attributes “fie:price” and “fie:sale\_price”.

Can I not pass the custom elements “fie:price” and “fie:sale\_price” to the final output feed?  
 ![-3-Commerce-Manager](https://forum.mergado.com/uploads/default/original/2X/4/474e7ba3c7f031417b1faae2f94497be33a1e0d6.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:** [July 16, 2024, 8:34am UTC](https://forum.mergado.com/t/problem-with-export-of-goods-after-application-of-the-rules/1022/4 "2024-07-16T08:34:23Z")

</div>

> [@mnews](#):
>
> Can I not pass the custom elements “fie:price” and “fie:sale\_price” to the final output feed?

Sure thing, you can hide both elements from output feed using hiding rule and that would be it.

---

<div class="post-metadata">

**Author:** ![mnews](https://forum.mergado.com/letter_avatar_proxy/v4/letter/m/53a042/32.png) [@mnews](https://forum.mergado.com/u/mnews)\
**Post date:** [July 16, 2024, 9:16am UTC](https://forum.mergado.com/t/problem-with-export-of-goods-after-application-of-the-rules/1022/5 "2024-07-16T09:16:34Z")

</div>

It’s all working now! Thanks for your help 😀
