Display Shopping Cart Quantity

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2013 10:01 AM
On our ESS page, I'd like to show the customer up front how many items (total) are in their shopping cart. Kind of like when you go to amazon, you see a number in the little shopping cart icon.
i see the sc_cart table holds the quantity per line item, but I'll need that total, based on my cart
Any help is greatly appreciated-
- Labels:
-
Orchestration (ITOM)
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2013 01:34 PM
You create a UI macro to count the results. Then display that on the portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2013 01:40 PM
Sorry, I didn't finish writing that before it posted.
I meant you could create a UI macro and how it like you do the cart though you will need to know some Jelly to get it done.
Not sure how else.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2013 05:48 AM
It looks like something already exists that I can modify/tailor to my needs. When I'm in the service catalog and have an item in my cart, I can click on Edit Cart and it pulls up all my cart contents with a total price. If I can find this page, I can probably get the UI Macro I need.
The URL is: /com.glideapp.servicecatalog_cart_view.do
Where can I find this page? Is it a page?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2013 05:57 AM
So com.glideapp.servicecatalog_cart_view.do is a UI page (under System UI > UI Pages) inside of that it looks like it calls "servicecatalog_cart_template" which is a UI Macro and may be the location of what you are looking for.
Hope that helps