xmp.sdk.storeFrontParams object deprecated or removed in newer versions of uStore?

28 views
Skip to first unread message

Nick O

unread,
Aug 7, 2025, 1:17:42 PMAug 7
to XMPie Interest Group
Hi All,

I'm wondering if anyone knows whether the xmp.sdk.storeFrontParams object/API has been deprecated or removed in newer versions of uStore. Recently updated a server to v25.2 and some scripts using this feature are no longer working. 

We're seeing 'xmp is not defined' in the console. This is happening on both React and non-React (customization pages are still in Legacy mode) pages.

I've tried to investigate this on other servers with older versions and it seems like this is also happening in v19 but not v17.

Has something changed with this? Any info would be appreciated, thanks!

Wayne

unread,
Aug 7, 2025, 4:00:40 PMAug 7
to XMPie Interest Group
Hi Nick,
Can confirm the xmp object has not been deprecated in uStore 25.2 and is available in legacy pages.
Never used the xmp object in React Pages

Regards,
Wayne

Nick O

unread,
Aug 7, 2025, 9:01:38 PMAug 7
to XMPie Interest Group
Thanks Wayne! 

Can you think of a reason why this error would be occurring? This is a script that was working (called from storefront js) prior to upgrading the server and theme.

Could you provide an example of how you access the xmp object from a legacy page, just for comparison?

Wayne

unread,
Aug 8, 2025, 2:49:27 AMAug 8
to XMPie Interest Group
Hi Nick,
Sure - just using the xmp object in the normal way xmp.sdk.storeFrontParams.currentUser.userGroups.filter etc..
You should be able to see the xmp object using view frame source of the legacy pages

Regards,
Wayne

Reply all
Reply to author
Forward
0 new messages