This commit is contained in:
2026-01-08 14:10:40 +01:00
parent 171c000559
commit 5aa89eb4a4
2 changed files with 9 additions and 2 deletions

View File

@@ -985,6 +985,9 @@
}
),
o.default.on('updateProduct', function (e) {
console.log('test: ', e);
var t = e.eventType,
n = e.event
; (function () {
@@ -1055,6 +1058,7 @@
) {
u.data('old-value', u.val()), l && clearTimeout(l)
var m = 30
'updatedProductQuantity' === t && (m = 750),
(l = setTimeout(function () {
'' !== f &&
@@ -1150,9 +1154,12 @@
.first()
.replaceWith(e.product_flags),
console.log(e.product_delivery_time);
e.product_delivery_time && (function () {
var $target = (0, r.default)('.blockreassurance_product').first();
if ($target.length) {
$target.find('.item-999.item-custom').remove();
$target.find('.product-delivery-time-block').remove();
$target.prepend(
'<div class="product-delivery-time-block">' + e.product_delivery_time + '</div>'