- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2023 06:23 AM
Hi ,
I need to remove only "yearly" word from Price field in Service portal without disturbing the price value for one of my catalog item.
Please find the below screenshot for your reference.
Can anyone please help me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2023 03:18 AM
Hi @bhargavi143
Just remove the part data.sc_cat_item.recurring_price_frequency, it should do the trick.
Sample below.
<div class="m-b text-right" ng-if="c.showPrice()">
<b>${Price}:</b> {{data.sc_cat_item.price_display}}
<em ng-if="data.sc_cat_item.recurring_price" class="cat_item_price"> {{data.sc_cat_item.price ? '+' : ''}} {{data.sc_cat_item.recurring_price_display}}</em>
</div>
Let me know if it works for you.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2023 06:41 AM
This must be coming from 'Recurring price frequency' from the related catalog item.
If you do not have 'Recurrning price' then set that to 0 and test.
Regards,Sushant Malsure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2023 02:35 AM
Hi Sushant,
Thanks for your reply
I attached code which is present in my SP portal widget , Please find the below code and guide me where i can change for removing "yearly" word in the price value.
<div class="m-b text-right" ng-if="c.showPrice()" >
<b>${Price}:</b> {{data.sc_cat_item.price_display}} <em ng-if="data.sc_cat_item.recurring_price" class="cat_item_price"> {{data.sc_cat_item.price ? '+' : ''}} {{data.sc_cat_item.recurring_price_display + ' ' + data.sc_cat_item.recurring_price_frequency}}</em>
</div>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2023 03:18 AM
Hi @bhargavi143
Just remove the part data.sc_cat_item.recurring_price_frequency, it should do the trick.
Sample below.
<div class="m-b text-right" ng-if="c.showPrice()">
<b>${Price}:</b> {{data.sc_cat_item.price_display}}
<em ng-if="data.sc_cat_item.recurring_price" class="cat_item_price"> {{data.sc_cat_item.price ? '+' : ''}} {{data.sc_cat_item.recurring_price_display}}</em>
</div>
Let me know if it works for you.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2023 04:01 AM
Thank you , The solution is worked for me.