PageSourceSearch

https://techcow.ai/wp-content/themes/webion/inc/modules/woo/assets/js/woo-module-script.js?ver=2.2

js techcow.ai collected 2026-10-05 12:43:07 UTC 1,102 bytes, 51 lines download raw bytes

1;var Webion_Woo_Module;
2
3
4(function ($) {
5	"use strict";
6
7
8	Webion_Woo_Module = {
9
10		init: function () {
11			this.wooHeaderCart();
12			this.wooCategoriesLast();
13			this.wooCartPageEmpty();
14			this.wooProductsCart();
15		},
16
17		wooHeaderCart: function () {
18			var headerCartButton = $('.header-cart__link-wrap'),
19
20			toggleButton = function (e){
21				e.preventDefault();
22				$('.header-cart__content').toggleClass('show');
23
24				jQuery(window).on('scroll', function(e) {
25					$('.header-cart__content').removeClass('show');
26				});
27			};
28
29			headerCartButton.on('click', toggleButton );
30
31		},
32
33		wooCategoriesLast: function () {
34			$('.woocommerce #main .products .product-category').last().after('<li class="product-category product category-last"></li>');
35		},
36
37		wooCartPageEmpty: function () {
38			if ( $('body.woocommerce-cart .woocommerce-info').hasClass( 'cart-empty' ) ) {
39				$('body').addClass('body-cart-empty');
40			}
41		},
42
43		wooProductsCart: function () {
44			$( '<div class="empty"></div>' ).insertAfter( '.woocommerce-cart td.product-name dd' );
45		},
46		
47	};
48
49	Webion_Woo_Module.init();
50
51}(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.