Description
In the Service Portal, the "Catalog Home" button dialog that shows up when clicking "Add to Cart" from an Order Guide always redirects to sc_home instead of the Catalog Homepage you set in the portal record.
Steps to Reproduce
- On an affected instance
- Go to Service Portal
- Go to Service Catalog
- Search for the "New hire" Order Guide
- Fill mandatory info
- Click Next
- Fill mandatory options
- Click Next
- Select "Add to Cart"
- Select "Catalog Home"
Expected behavior: You will be redirected to the catalog home page defined in the portal record
Actual behavior: You are always redirected to sc_home
Workaround
- Clone the SC Order Guide Widget
- Replace line 165 of the client controller script with:
'?id=' + $scope.data.sc_catalog_page
Related Problem: PRB1323339