# .getProduct() is not a function

**URL:** <https://forum.wixstudio.com/t/getproduct-is-not-a-function/25348>\
**Category:** Ask the community\
**Tags:** wix-stores, question, code\
**Created:** [February 20, 2020, 10:29pm UTC](https://forum.wixstudio.com/t/getproduct-is-not-a-function/25348 "2020-02-20T22:29:23Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![ashfieldvaletingsupp](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/ashfieldvaletingsupp/32/26491_2.png) [@ashfieldvaletingsupp](https://forum.wixstudio.com/u/ashfieldvaletingsupp)\
**Post date:** [April 6, 2022, 10:51am UTC](https://forum.wixstudio.com/t/getproduct-is-not-a-function/25348/21 "2022-04-06T10:51:57Z")

</div>

ok after some playing around ive found getProduct fails when the page is first opened/refreshed. if you navigate to another product and back it starts working.

[Previous page](https://forum.wixstudio.com/t/getproduct-is-not-a-function/25348.md?page=1)
