-5% isWishlisted = val, (val) => isWishlisted = val); } else { fetch('https://e-market.kisanagriconnect.com/wishlist/toggle', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Accept': 'application/json', 'X-CSRF-TOKEN': document.querySelector('meta[name=csrf-token]')?.content }, body: JSON.stringify({ product_id: 4 }) }).then(r => r.json()).then(data => { isWishlisted = data.added; if (window.wishlistFx && typeof window.wishlistFx.updateBadgeCounts === 'function') { window.wishlistFx.updateBadgeCounts(data.wishlist_count, 0); } else { const wc = document.getElementById('wc'); if (wc) wc.textContent = data.wishlist_count; const mwc = document.getElementById('mobileWc'); if (mwc) mwc.textContent = data.wishlist_count; } window.dispatchEvent(new CustomEvent('wishlist-updated', { detail: data })); }).catch(() => {}); } "> Kisan Krishi Kendra Mahindra 275 DI TU XP Plus New Model 2026 39 HP ★★★★★ 4.8 (106) ₹690,000 ₹725,000 Add to cart 0
-5% isWishlisted = val, (val) => isWishlisted = val); } else { fetch('https://e-market.kisanagriconnect.com/wishlist/toggle', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Accept': 'application/json', 'X-CSRF-TOKEN': document.querySelector('meta[name=csrf-token]')?.content }, body: JSON.stringify({ product_id: 48 }) }).then(r => r.json()).then(data => { isWishlisted = data.added; if (window.wishlistFx && typeof window.wishlistFx.updateBadgeCounts === 'function') { window.wishlistFx.updateBadgeCounts(data.wishlist_count, 0); } else { const wc = document.getElementById('wc'); if (wc) wc.textContent = data.wishlist_count; const mwc = document.getElementById('mobileWc'); if (mwc) mwc.textContent = data.wishlist_count; } window.dispatchEvent(new CustomEvent('wishlist-updated', { detail: data })); }).catch(() => {}); } "> Demo Owner Massey Ferguson 7250 DI 50HP ★★★★★ 4.2 (77) ₹760,000 ₹800,000 Add to cart 0
-9% isWishlisted = val, (val) => isWishlisted = val); } else { fetch('https://e-market.kisanagriconnect.com/wishlist/toggle', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Accept': 'application/json', 'X-CSRF-TOKEN': document.querySelector('meta[name=csrf-token]')?.content }, body: JSON.stringify({ product_id: 47 }) }).then(r => r.json()).then(data => { isWishlisted = data.added; if (window.wishlistFx && typeof window.wishlistFx.updateBadgeCounts === 'function') { window.wishlistFx.updateBadgeCounts(data.wishlist_count, 0); } else { const wc = document.getElementById('wc'); if (wc) wc.textContent = data.wishlist_count; const mwc = document.getElementById('mobileWc'); if (mwc) mwc.textContent = data.wishlist_count; } window.dispatchEvent(new CustomEvent('wishlist-updated', { detail: data })); }).catch(() => {}); } "> Demo Owner Swaraj 744 FE 48 HP ★★★★★ 4.2 (5) ₹730,000 ₹799,000 Add to cart 0