We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gpcp-product-pricing-labels.js
1 parent e85d0ef commit 92bc954Copy full SHA for 92bc954
gp-conditional-pricing/gpcp-product-pricing-labels.js
@@ -8,7 +8,7 @@
8
function update_price_labels() {
9
$( 'label[data-gpcp-template], option[data-gpcp-template]' ).each( function() {
10
var $priceElem = $( this ).is( 'option' ) ? $( this ) : $( this ).siblings( 'input' );
11
- var price = gformFormatMoney( $priceElem.val().split( '|' )[1] );
+ var price = gformFormatMoney( $priceElem.val().split( '|' )[1], true );
12
var template = $( this ).attr( 'data-gpcp-template' );
13
$( this ).html( template.replace( '{price}', price ) );
14
} );
0 commit comments