PageSourceSearch

https://343coaching.com/wp-content/mu-plugins/rainmaker/library/in…/apply-coupon-and-update-price.js?ver=3.8.4

js 343coaching.com collected 2026-10-02 03:41:10 UTC 792 bytes, 24 lines download raw bytes

1jQuery( document ).ready(
2	function ( $ ) {
3		$( document ).on( 'meprPriceStringUpdated', function ( event, data ) {
4			// Check if data.price_string exists and has length > 0
5			if ( data.price_string && data.price_string.length > 0 ) {
6				$( 'body .acp-price.price' ).each( function () {
7					var $span = $( this );
8					var $h3 = $span.closest( 'h3' );
9					// Construct the new HTML with proper concatenation
10					var html = '<span class="acp-price price">' +
11					           data.price_string +
12					           '</span>';
13					$h3.html( html );
14				} );
15			}
16		} );
17		if ( $( '.mepr-signup-form .mepr-coupon-code' ).length ) {
18			let couponInput = $( '.mepr-signup-form .mepr-coupon-code' );
19			if ( couponInput.val().trim() !== '' ) {
20				couponInput.trigger( 'blur' );
21			}
22		}
23	}
24);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.