Brand: testing pump
, SIN: TSX-450
Excavators
Available
Price: CAD $1,400.00
test
- Pump Type: Centrifugal Pump
- Flow Rate: 850 m³/h
- Temperature: 280°C
- Viscosity: 12,500 cSt
- Validity: December 2032
function toggleFavorite(productId) {
fetch('https://www.emaarenergy.ca/favorites/toggle', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-CSRF-TOKEN': document.querySelector('meta[name="csrf-token"]').content
},
body: JSON.stringify({ product_id: productId })
})
.then(res => res.json())
.then(data => {
const text = document.getElementById('fav-text-' + productId);
if (data.status === 'added') {
text.innerText = 'Remove from Favorite';
} else {
text.innerText = 'Add to Favorite';
}
const badge = document.querySelector('.fa-regular.fa-heart')?.closest('a')?.querySelector('.notify-dot');
if (badge && data.count !== undefined) {
badge.innerText = data.count;
}
});
}