Service Portal Add to Cart Issue

Blair5
Tera Guru

We are on Helsinki Patch 11 and have the cart showing on our service portal. When a user fills out the fields on a cat item and adds to cart, the ability to change some of those fields and add again isn't working. I saw a mention in another post - Add to Cart functionality for Service Portal - where you can disable this, but I don't see how. Any help? This featured is used pretty regularly by our users.

1 ACCEPTED SOLUTION

Hi Blair,



Now that we know it the same code and disabled in all.. I thought let me figure this   and found it



Some steps



  • Clone the sc catalog item widget (else it is read only)
  • Attache the cloned widget the the Service catalog page
  • Look for the ng-disabled="submitted" on the line containing Add to cart and DELETE the   ng-disabled="submitted"


find_real_file.png


  • You also need to make changes to the client script highlighted below (EDIT Updated code to fix submit greyed out after add)
  • find_real_file.png

I didnt test for other side effects but add to cart works and does not get disabled after adding


Let us know how it goes. breinhart


Mine...


find_real_file.png


View solution in original post

27 REPLIES 27

RavindranKeshav
Giga Expert

Hi Blair,



You mean you want to disable the cart altogether in Service portal?


If that's the case, you can set the enable_cart values to false (see below).



find_real_file.png



Also, System Properties -> Service catalog has quite some cart related settings you may want to look at.



Hope it helps.


Especially, this one....



Yes | No


Also link to docs which have some explanation


Service Catalog properties


I dont want to disable the add to cart or the submit button. I want the form to be editable after it has been added to the cart. This is for the service portal.


RavindranKeshav
Giga Expert

At least in Jakarta, I can confirm it works they way you described ( we can continue   to add an item to cart, modify item and continue to add the modified ones with form enabled). Unfortunately, I don't have have access to any Helsinki instances to verify.