price not updating when changing quantity in service portal item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2017 07:44 AM
Hi All,
In SP Service Catalog Item, price is not updating as per quantity..Can someone suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 05:03 AM
- price:0
- price_total:60
- recurring_price:0
- recurring_total:0
- rfd:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 05:33 AM
wierd...for you price is 0 and it is stored in price_total...
replace line
var price = c.data.sc_cat_item._pricing.price;
with
var price = c.data.sc_cat_item._pricing.price_total;
and it will work.
do test it will recurring price item scenario also.
(please mark helpful/like/correct if it helps)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 06:08 AM
works fine but recurring price option shows up even when it is empty or not set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 06:10 AM
also, the price is not updated in the price variable of request item