Construct a URL link to a pre-populated catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2016 08:58 AM
Hello Everyone
Could anyone please suggest a best way to achieve this?
I need to construct/create a URL to a catalog item and when user clicks on that link, it should display the shopping cart with all mandatory details pre populated with a submit button. User should be able to just review the data on shopping cart and just submit it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2016 09:24 AM
Hey Narendra,
Yes it is possible.
Just copy the existing URL of the catalog item and add this at the end of URL: '&sysparm_<any_text>=<any_value>'. When you click on this hyperlink, you will be redirected to the same catalog item with the updated URL.
Based on the parameter value you are passing over the URL, create a onLoad script that will automatically fill all your form values.
All you need to do now is, just submit the form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2016 09:56 AM
Hi Sudharsan
Thanks for your response. I have a scenario where I need to order 2 items with different params on same catalog. Is this possible to display the 2 items in shopping cart with all required values filled and a submit button?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2016 02:34 AM
I am not sure whether it is possible or not. But it is possible if you are looking for 1 item at a time.