1jQuery(document).ready(function($) { 2 jQuery(document.body).on('adding_to_cart', function(e,button,data = Array()){ 3 id = button.attr('data-product_id'); 4 price = jQuery('#custom_price_field_'+id).val(); 5 nonce = jQuery('#elex_custom_field_nonce_'+id).val(); 6 data.custom_price = price; 7 data.elex_wfp_custom_price_field_nonce = nonce; 8 return data; 9 }); 10});
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.