# Commerce get\_products and get\_cart only working when logged in to manager

**URL:** <https://forum.modmore.com/t/commerce-get-products-and-get-cart-only-working-when-logged-in-to-manager/2646>\
**Category:** Commerce\
**Created:** [June 5, 2025, 10:05am UTC](https://forum.modmore.com/t/commerce-get-products-and-get-cart-only-working-when-logged-in-to-manager/2646 "2025-06-05T10:05:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adec\_chrisdin](https://forum.modmore.com/letter_avatar_proxy/v4/letter/a/dfb087/32.png) [@adec\_chrisdin](https://forum.modmore.com/u/adec_chrisdin)\
**Post date:** [June 5, 2025, 10:05am UTC](https://forum.modmore.com/t/commerce-get-products-and-get-cart-only-working-when-logged-in-to-manager/2646/1 "2025-06-05T10:05:45Z")

</div>

Hi, I am getting this error on our website using the Commerce plugin. Here’s the error log.

/core/src/Revolution/modParser.php : 509) Could not find snippet with name commerce.get\_products.  
/core/src/Revolution/modParser.php : 509) Could not find snippet with name commerce.cart.

---

<div class="post-metadata">

**Author:** ![mhamstra](https://forum.modmore.com/user_avatar/forum.modmore.com/mhamstra/32/459_2.png) [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Post date:** [June 5, 2025, 4:45pm UTC](https://forum.modmore.com/t/commerce-get-products-and-get-cart-only-working-when-logged-in-to-manager/2646/2 "2025-06-05T16:45:07Z")

</div>

Have you added permissions (ACLs) to the Commerce category perhaps that only allows admins to access it?

---

<div class="post-metadata">

**Author:** ![adec\_chrisdin](https://forum.modmore.com/letter_avatar_proxy/v4/letter/a/dfb087/32.png) [@adec\_chrisdin](https://forum.modmore.com/u/adec_chrisdin)\
**Post date:** [June 9, 2025, 12:47am UTC](https://forum.modmore.com/t/commerce-get-products-and-get-cart-only-working-when-logged-in-to-manager/2646/3 "2025-06-09T00:47:02Z")

</div>

Hi Mark, thanks for your response. I got it working. I set the context to web instead of mgr my bad.

 ![image](https://forum.modmore.com/uploads/default/original/1X/379983b819dc038e055461d22a97d8dd96c622a2.png)
