PageSourceSearch

https://electriccityroasting.com/wp-content/plugins/upsell-order-b…/js/wps_ubo_lite_fbt.js?ver=1788878457

js electriccityroasting.com collected 2026-09-26 12:11:00 UTC 946 bytes, 33 lines download raw bytes

1jQuery( document ).ready(
2	jQuery( document ).on(
3		'click',
4		'.wps-add-to-cart',
5		function(e){
6			// Retrieve the hidden input element by its ID.
7			var wps_hidden_input = document.getElementById( "wps_all_prod_id_fbt" );
8			var wps_main_prod_id = document.getElementById( "wps_main_prod_id" ).value;
9			var wps_json_value = wps_hidden_input.value;
10			var wps_all_product_id = JSON.parse( wps_json_value );
11			var wps_fbt_discount_price = document.getElementById( " wps_fbt_discount_price" );
12
13			jQuery.ajax(
14				{
15					type: 'post',
16					dataType: 'json',
17					url: wps_ubo_lite_public_fbt.ajaxurl,
18					data: {
19						nonce: wps_ubo_lite_public_fbt.auth_nonce,
20						action: 'add_to_cart_fbt_product',
21						wps_product_id : wps_all_product_id,
22						wps_discount_price: wps_fbt_discount_price,
23						wps_main_prod_id : wps_main_prod_id,
24					},
25					success: function (msg) {
26						alert( 'Product Added!!' );
27					}
28
29				}
30			);
31		}
32	)
33);

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.