document.addEventListener('DOMContentLoaded', function() {
const outOfStockElements = document.querySelectorAll('.item .item-area.outofstock');
outOfStockElements.forEach(element => {
const computedStyle = window.getComputedStyle(element);
if (computedStyle.getPropertyValue('filter') === 'grayscale(1)') {
element.style.filter = 'none';
}
});
const simpleProductButtons = document.querySelectorAll('.item .item-area.outofstock .add-to-cart-wrap');
simpleProductButtons.forEach(button => {
button.parentNode.innerHTML = '';
});
const simpleProductButtonsCall = document.querySelectorAll('.item .item-area.outofstock .add-to-links');
simpleProductButtonsCall.forEach(button => {
button.innerHTML += '
';
});
const style = document.createElement('style');
style.innerHTML = `
.item.outofstock, .item .item-area.outofstock {
filter: none !important;
}
.btn-whatsapp {
background: green;
border-radius: 8px;
}
.btn-call-shkrn {
background: #492bef;
border-radius: 8px;
}
.btn-whatsapp > svg, .item .item-area .actions .btn-call-shkrn svg {
fill: #fff;
stroke: #fff;
}
.product-type-1 .item .item-area:hover .actions {
padding: 5px !important;
bottom: 0px !important;
height: fit-content !important;
}
.item .item-area.outofstock span.price {
display: none !important;
}
.elm_txt_l.out_of_stock {
display: none;
}
`;
document.head.appendChild(style);
jquery(function () {
jquery('.btn-whatsapp').tooltip()
});
});
دیدگاهها برای: توپی بلبرینگ چرخ جلو ام وی ام 530
https://yadakbashi.com/product/%d8%aa%d9%88%d9%be%db%8c-%d8%a8%d9%84%d8%a8%d8%b1%db%8c%d9%86%da%af-%da%86%d8%b1%d8%ae-%d8%ac%d9%84%d9%88-%d8%a7%d9%85-%d9%88%db%8c-%d8%a7%d9%85-530/
مرجع فروش لوازم یدکی خودروهای ام وی ام، مزدا ، چری و فونیکس
Fri, 10 Oct 2025 13:12:57 +0000
hourly
1
https://wordpress.org/?v=7.0