$ sign on catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 12:30 PM
How do I get the dollar sign symbol to show on my catalog item next to the price?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 03:57 PM
Hi @kgerman
A similar requirement was addressed in below post, Please refer this link.
Please Mark my response as 'Helpful' and 'Accept solution' if this has addressed your issue or provided the information you were seeking.
Regards
Faiz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2024 11:35 PM
Hi,
please see my response below:
If there is an HTML or UI Macro field associated with the catalog item, open it for editing.
Add the following HTML or similar code to include the dollar sign symbol:
$<span id="price_field">{{price_field}}</span>
Replace price_field with the actual field or variable name representing the price.
Use JavaScript to manipulate the DOM and add the dollar sign symbol. For example:
function onLoad() {
var priceField = g_form.getControl('price_field');
if (priceField) {
var priceValue = g_form.getValue('price_field');
priceField.innerHTML = '$' + priceValue;
}
}
Replace price_field with the actual field or variable name representing the price.
Regards,
Shoheb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 12:41 AM
Hi @kgerman
Please check if the below links helps :
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.