how to identify from which order guide a catalog item is triggered?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2019 06:54 AM
Hello All,
I got a requirement to hide a variable set on a catalog item onLoad when it is triggered from a particular order guide.Though I am able to find that the the catalog item is triggered from an order guide using "g_service_catalog.isOrderGuide()" but how will I check if is triggered from a particular order guide ?Is there any way to do this? Could any anyone please guide me on this.
Thanks!
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2019 10:35 PM
This works in Kingston as well, Can you try writing client script in your order guide to hide those variables?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2019 06:45 AM
Hello Alikutty,
I am able to hide the variables or variable sets which are on the guide using client-script but I wanted to hide variable/variable sets which are on the catalog item of the order guide when it is triggered from a particular order guide.
Ex: I have an order guide ABC which contains a catalog item XYZ & a variable set PQ on the catalog item. When XYZ item is ordered from ABC order guide I want to hide PQ variable set otherwise PQ should be visible when XYZ item is ordered directly.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2019 07:07 AM
Yea, I saw his response and figured there was miscommunication. He suggested something that you didn't really ask for (it would work, but the variable set is on the cat item and not the order guide).
So...if you don't mind, please review my suggestion now, thanks!
🙂
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2019 07:23 AM
Hello Allen,
Thanks for your reply! .Will check & update you:) But is there a way I could get the sys_id of the order guide which triggered the catalog item onLoad of the catalog item ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2019 07:31 AM