1(function ($) { 2 $(document.body).on('wc_fragment_refresh', function(e, product_id, variation_id, shared_list_id) { 3 $.ajax({ 4 type: 'post', 5 url: ajax_object.ajax_url, 6 data: { 7 action: 'brandsgateway_app_core_modules_woocommerce_products_ajax_product_page_fragments_refresh', 8 }, 9 success: function (response) { 10 Object.keys(response).map((key) => { 11 $(key).html(response[key]); 12 }) 13 14 if ( ! $(".hideMinimumOrderAmountLineIndicatorParentIfChildIsNotShowing").length ) { 15 $(".minimum_order_amount_line_indicator").hide(); 16 } 17 18 // Reusing event 'algolia_received_results', so we don't have modify conversion.js 19 // from the Currency Converter plugin. 20 // THIS MAKES SURE THAT THE CURRENCY SYMBOL IS SHOWING ON ALL SPANS WITH CLASS AMOUNT 21 $(document.body).trigger('algolia_received_results'); 22 }, 23 }) 24 }); 25 26})(jQuery);
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.