- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2022 04:11 AM
Hello All,
I have a requirement to submit the catalog items through the virtual agent. I have gone through the OOB Plugins which has "Search for catalog item" and " Order a catalog item" topics blocks. Using them we can submit catalog request.
But it comes with many limitations , for eg it does not support checkbox variable & a reference field with more than 80 records.
I know the way of building a topic for each catalog item and using cart API we can submit the request.
But is there any way to build a topic which supports multiple catalog items with checkbox/reference field support. rather than creating a each topic for catalog item.
Solved! Go to Solution.
- Labels:
-
Virtual Agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2022 12:12 PM
Hello,
Virtual Agent checks that a particular catalog item passes the has_va_support logic - this essentially checks the catalog item for eligibility to be rendered in the bot (ie. making sure there are no client scripts, no unsupported variables, etc). A full list of what the bot can support can be found here.
As VA itself cannot support checkboxes, you would have to create a specific topic with scripting to handle the logic (setting it to True/False based on user response). Given the bot supports Yes/No, it may be more feasible to convert the Checkbox variables to Yes/No than to create topics.
Regarding reference fields, to combat the 80 record limit you may want to look at reference qualifiers to reduce the total count coming back if at all possible in your implementation. Otherwise, there is no way around this.
Please mark my answer as correct/helpful if it has helped you.
Thanks,
Logan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2022 12:12 PM
Hello,
Virtual Agent checks that a particular catalog item passes the has_va_support logic - this essentially checks the catalog item for eligibility to be rendered in the bot (ie. making sure there are no client scripts, no unsupported variables, etc). A full list of what the bot can support can be found here.
As VA itself cannot support checkboxes, you would have to create a specific topic with scripting to handle the logic (setting it to True/False based on user response). Given the bot supports Yes/No, it may be more feasible to convert the Checkbox variables to Yes/No than to create topics.
Regarding reference fields, to combat the 80 record limit you may want to look at reference qualifiers to reduce the total count coming back if at all possible in your implementation. Otherwise, there is no way around this.
Please mark my answer as correct/helpful if it has helped you.
Thanks,
Logan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2022 09:11 AM
Hello,
Just checking if you still require some help with this. If not, would you mind marking my answer as correct/helpful so that it will be marked as solved for others who may share this question in the future?
Please mark my answer as correct/helpful if it has helped you.
Thanks,
Logan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2022 09:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2024 08:26 AM
Hey @Logan Poynter ,
How can we take user input from variable sets in Virtual agent?
I can get questions from variables, but whenever I create a variable set I am not getting any questions from Catalog Item variable set.
Thanks