sn_sc.CartJS() doesn't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2023 03:35 AM
Dear community,
I'm struggling with my recent problem in that I can't use CartJS() properly for some reasons.
I'm trying to log some requests in a GlideRecord loop by this script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2023 08:41 AM
Anybody that know a solution for this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 10:52 PM
You need to create a new object from the CartJS class. The glidedates might need conversion too.
//var cart = sn_sc.CartJS();
var cart = new sn_sc.CartJS();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2024 12:50 AM
There is a strange interaction between CartJS and variables called gr, so try replace the variable name you're using in the GlideRecord.