# Shop related question (another one)

**URL:** <https://forum.getkirby.com/t/shop-related-question-another-one/20597>\
**Category:** Questions\
**Tags:** v3\
**Created:** [December 31, 2020, 12:31pm UTC](https://forum.getkirby.com/t/shop-related-question-another-one/20597 "2020-12-31T12:31:11Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)\
**Post date:** [January 7, 2021, 1:24pm UTC](https://forum.getkirby.com/t/shop-related-question-another-one/20597/21 "2021-01-07T13:24:17Z")

</div>

I am not quite sure what that would lookI havent personlly tried it on the parts of that endpoint that have arrays as the value.

What happens if you `console.log(this.orders)` instead of the reponse.item. That should show what the data looks like that the table renders.

---

<div class="post-metadata">

**Author:** ![Alain](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/alain/32/10270_2.png) [@Alain](https://forum.getkirby.com/u/Alain)\
**Post date:** [January 7, 2021, 5:18pm UTC](https://forum.getkirby.com/t/shop-related-question-another-one/20597/22 "2021-01-07T17:18:53Z")

</div>

I guess it is because the tbl-component invokes a value from an array by its keyname.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/a/a83f1c237363ce32b5ffb0dd87153bf4013b30db.png)

In my case it would be like:  
`:value="getValue(row[customFields[1].value], column.type)"`  
And because `customFields[1].value` is not a keyname it will return null.

I guess I have to create a computed property for `this.orders` to reduce the custom field to only one value instead of an array, right?

[Previous page](https://forum.getkirby.com/t/shop-related-question-another-one/20597.md?page=1)
