PageSourceSearch

https://inglotusa.com/modules/ets_htmlbox/views/js/front.js

js inglotusa.com collected 2026-10-03 22:21:11 UTC 4,490 bytes, 103 lines download raw bytes

1/**
2 * Copyright ETS Software Technology Co., Ltd
3 *
4 * NOTICE OF LICENSE
5 *
6 * This file is not open source! Each license that you purchased is only available for 1 website only.
7 * If you want to use this file on more websites (or projects), you need to purchase additional licenses.
8 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
9 *
10 * DISCLAIMER
11 *
12 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
13 * versions in the future.
14 *
15 * @author ETS Software Technology Co., Ltd
16 * @copyright  ETS Software Technology Co., Ltd
17 * @license    Valid for 1 website (or project) for each purchase of license
18 */
19
20$(document).ready(function () {
21    if ($('#js-product-list-header').length > 0) {
22        if ($('#hookDisplayProductListHeaderBefore').length > 0) {
23            $('#js-product-list-header').prepend($('#hookDisplayProductListHeaderBefore').html());
24        }
25        if ($('#hookDisplayProductListHeaderAfter').length > 0) {
26            $('#js-product-list-header').append($('#hookDisplayProductListHeaderAfter').html());
27        }
28    }
29    if ($('.content_scene_cat').length > 0) {
30        if ($('#hookDisplayProductListHeaderBefore').length > 0) {
31            $('.content_scene_cat').before($('#hookDisplayProductListHeaderBefore').html());
32        }
33        if ($('#hookDisplayProductListHeaderAfter').length > 0) {
34            $('.content_scene_cat').after($('#hookDisplayProductListHeaderAfter').html());
35        }
36    }
37    if ($('#left-column').length > 0) {
38        if ($('#hookDisplayLeftColumnBefore').length > 0) {
39            $('#left-column').prepend($('#hookDisplayLeftColumnBefore').html());
40        }
41    }
42    if ($('#left_column').length > 0) {
43        if ($('#hookDisplayLeftColumnBefore').length > 0) {
44            $('#left_column').prepend($('#hookDisplayLeftColumnBefore').html());
45        }
46    }
47    if ($('#right-column').length > 0) {
48        if ($('#hookDisplayRightColumnBefore').length > 0) {
49            $('#right-column').prepend($('#hookDisplayRightColumnBefore').html());
50        }
51    }
52    if ($('#right_column').length > 0) {
53        if ($('#hookDisplayRightColumnBefore').length > 0) {
54            $('#right_column').prepend($('#hookDisplayRightColumnBefore').html());
55        }
56    }
57    if ($('.product-variants').length > 0) {
58        if ($('#hookDisplayProductVariantsBefore').length > 0) {
59            $('.product-variants').prepend($('#hookDisplayProductVariantsBefore').html());
60        }
61    }
62    if ($('.product_attributes').length > 0) {
63        if ($('#hookDisplayProductVariantsBefore').length > 0) {
64            $('.product_attributes').prepend($('#hookDisplayProductVariantsBefore').html());
65        }
66    }
67    if ($('.product-variants').length > 0) {
68        if ($('#hookDisplayProductVariantsAfter').length > 0) {
69            $('.product-variants').append($('#hookDisplayProductVariantsAfter').html());
70        }
71    }
72    if ($('.product_attributes').length > 0) {
73        if ($('#hookDisplayProductVariantsAfter').length > 0) {
74            $('.product_attributes').append($('#hookDisplayProductVariantsAfter').html());
75        }
76    }
77    if ($('#product-comments-list-header').length > 0) {
78        if ($('#hookDisplayProductCommentsListHeaderBefore').length > 0) {
79            $('#product-comments-list-header').before($('#hookDisplayProductCommentsListHeaderBefore').html());
80        }
81    }
82    if ($('.cart-grid-body').length > 0) {
83        if ($('#hookDisplayCartGridBodyBefore1').length > 0) {
84            $('.cart-grid-body').prepend($('#hookDisplayCartGridBodyBefore1').html());
85        }
86        if ($('#hookDisplayCartGridBodyBefore2').length > 0) {
87            $('.cart-grid-body').prepend($('#hookDisplayCartGridBodyBefore2').html());
88        }
89        if ($('#hookDisplayCartGridBodyAfter').length > 0) {
90            $('.cart-grid-body').append($('#hookDisplayCartGridBodyAfter').html());
91        }
92    }
93    if ($('#order_step').length > 0){
94        if ($('#hookDisplayCartGridBodyBefore2').length > 0) {
95            $('#order_step').after($('#hookDisplayCartGridBodyBefore2').html());
96        }
97    }
98    if($('.cart_navigation').length > 0){
99        if ($('#hookDisplayCartGridBodyAfter').length > 0) {
100            $('.cart_navigation').after($('#hookDisplayCartGridBodyAfter').html());
101        }
102    }
103});

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.