Tenergy Power | all-battery.com Analysis & SEO Stats
All-battery Domain Overview 🔒 SSL Verified Live Data Status: Analyzed on July 24, 2026 | E-commerce & Retail
Welcome to the detailed analysis for all-battery.com . This domain is officially recognized as Tenergy Power . According to their official web presence, their primary focus is: "Tenergy POWER, is our online store for TENERGY that brings our products and the same support directly to customers. Whether you just need basic rechargeable batteries for your HOME, business, school, or projects we're here to help!".
Table of Contents ↓ popular categories ↓ Featured Products ↓ Quick view
Tenergy LiFePO4 12.8V 100AH Deep Cycle Battery, Built-in 100A BMS, 4000+ Cycles, Ideal for RV, Solar, Off-Grid, and Power Storage
P/N 34436
$299.99
(Inc. Tax)
$299.99
saved: $0
x
Sales Tax
Tenergy only collects sales tax on orders shipped to addresses in the States of California.
You may be responsible for state and local sales/use taxes when filing your tax returns. Please check your local sales tax laws.
jQuery(document).ready(function(){
jQuery('.productGrid .product').each(function(){
var htm= jQuery(this).find('.save_price.h .precision').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery(this).find('.save_price.h .precision').html(htnw);
});
var htm= jQuery('.productView-price .price-section .instant_price .saving-data').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery('.productView-price .price-section .instant_price .saving-data').html(htnw);
jQuery('.productCarousel').find('.productCarousel-slide').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
jQuery('.productGrid .product').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
});
Add to Cart
Free Shipping
document.addEventListener('DOMContentLoaded', function() {
// Function to handle Contact Us button redirects
function attachContactButtonListeners() {
document.querySelectorAll('.contact-us-button').forEach(function(button) {
// Skip if already has listener attached
if (button.hasAttribute('data-redirect-listener')) {
return;
}
button.setAttribute('data-redirect-listener', 'true');
button.addEventListener('click', function(e) {
e.preventDefault();
// Get the product URL from the product title link in the same card
const productCard = this.closest('.card');
if (productCard) {
// First try to get URL from product title link
const productTitleLink = productCard.querySelector('.card-title a');
if (productTitleLink && productTitleLink.href) {
console.log('Redirecting to:', productTitleLink.href);
window.location.href = productTitleLink.href;
return;
}
// Second try to get URL from product image link
const productImageLink = productCard.querySelector('.card-figure a');
if (productImageLink && productImageLink.href) {
console.log('Redirecting to:', productImageLink.href);
window.location.href = productImageLink.href;
return;
}
}
console.error('Could not find product URL for contact button');
});
});
}
// Initial attachment of contact button listeners
attachContactButtonListeners();
// button functionality
function handleButtonVisibility() {
document.querySelectorAll('.card, .cart-action, .product-item').forEach(function(container) {
const contactUsBtn = container.querySelector('.contact-us-button[data-contact-us="true"]');
if (contactUsBtn) {
// Target all buttons that contain "ADD TO CART" text or have cart-related classes
const allButtons = container.querySelectorAll('button, a[class*="button"], [class*="btn"]');
allButtons.forEach(function(btn) {
const buttonText = btn.textContent ? btn.textContent.trim().toLowerCase() : '';
const buttonClasses = btn.className ? btn.className.toLowerCase() : '';
// Hide buttons that are add-to-cart, buy-now, or out-of-stock related
if (
buttonText.includes('add to cart') ||
buttonText.includes('buy now') ||
buttonText.includes('out of stock') ||
buttonText.includes('add to bag') ||
buttonClasses.includes('add-to-cart') ||
buttonClasses.includes('cart-btn') ||
buttonClasses.includes('buy-now') ||
buttonClasses.includes('out-stock') ||
buttonClasses.includes('stock-out') ||
btn.hasAttribute('data-add-to-cart') ||
btn.hasAttribute('data-cart-item-add')
) {
if (!btn.classList.contains('contact-us-button')) {
btn.style.display = 'none';
}
}
});
// Also hide any form elements that might be cart forms
const cartForms = container.querySelectorAll('form[data-cart-item-add], form[action*="cart"]');
cartForms.forEach(function(form) {
if (!form.querySelector('.contact-us-button')) {
form.style.display = 'none';
}
});
// Ensure contact us button is visible
contactUsBtn.style.display = 'inline-block';
// Ensure images remain visible and functional
const images = container.querySelectorAll('img, picture, .image, .product-image');
images.forEach(function(img) {
img.style.display = '';
img.style.visibility = 'visible';
});
// Ensure image containers remain visible
const imageContainers = container.querySelectorAll(
'.card-image, .product-image-container, .image-container, .product-photo'
);
imageContainers.forEach(function(imgContainer) {
imgContainer.style.display = '';
imgContainer.style.visibility = 'visible';
});
}
});
// Re-attach contact button listeners after button visibility changes
attachContactButtonListeners();
}
// Multiple event listeners to catch all scenarios
const events = [
'DOMContentLoaded',
'load',
'ajaxComplete',
'facetedSearch.refreshComplete',
'facetedSearch.loaded',
'searchResults.loaded'
];
events.forEach(function(event) {
document.addEventListener(event, function() {
handleButtonVisibility();
// Extra delay for search events to ensure contact buttons are properly attached
if (event.includes('search') || event.includes('faceted')) {
setTimeout(attachContactButtonListeners, 200);
}
});
});
// Handle AJAX completion for search results
if (typeof $ !== 'undefined') {
$(document).ajaxComplete(function() {
setTimeout(function() {
handleButtonVisibility();
attachContactButtonListeners();
}, 150);
});
}
// MutationObserver for dynamic content
const observer = new MutationObserver(function(mutations) {
let shouldUpdate = false;
let hasNewContactButtons = false;
mutations.forEach(function(mutation) {
if (mutation.type === 'childList' && mutation.addedNodes.length > 0) {
mutation.addedNodes.forEach(function(node) {
if (node.nodeType === 1) {
// Check for product containers
if (node.classList.contains('card') ||
node.querySelector('.card') ||
node.classList.contains('product-item') ||
node.querySelector('.product-item')) {
shouldUpdate = true;
}
// Check for new contact buttons
if (node.classList.contains('contact-us-button') ||
node.querySelector('.contact-us-button')) {
hasNewContactButtons = true;
}
}
});
}
});
if (shouldUpdate) {
setTimeout(handleButtonVisibility, 100);
}
if (hasNewContactButtons) {
setTimeout(attachContactButtonListeners, 150);
}
});
observer.observe(document.body, {
childList: true,
subtree: true
});
// Fallback periodic check
setInterval(function() {
handleButtonVisibility();
// Extra check for search pages - ensure contact buttons have listeners
if (window.location.pathname.includes('/search') ||
window.location.search.includes('search') ||
document.querySelector('.search-results')) {
const buttonsWithoutListeners = document.querySelectorAll('.contact-us-button:not([data-redirect-listener])');
if (buttonsWithoutListeners.length > 0) {
console.log('Found contact buttons without listeners on search page, attaching...');
attachContactButtonListeners();
}
}
}, 2000);
});
Link Profile Internal Pages: 16 Outbound Links: 358
Localization en 6-Month Traffic Trend Estimate Estimated Market Value $434,300
Based on domain age, authority, and keyword relevance.
TLD Availability Risk all-battery.com Taken all-battery.net Taken all-battery.org Available all-battery.io Available all-battery.co Available all-battery.ai Available Official Contact & Profiles Visual representation extracted from all-battery.com
Content Snippets from all-battery.com "FREE GROUND SHIPPING* On Orders Over $50 - Enter Coupon Code: THANKS"
"Tenergy only collects sales tax on orders shipped to addresses in the States of California."
"You may be responsible for state and local sales/use taxes when filing your tax returns. Please check your local sales tax laws."
"Tenergy only collects sales tax on orders shipped to addresses in the States of California."
Key Topics & Focus Areas for all-battery.com: popular categories Featured Products Quick view
Tenergy LiFePO4 12.8V 100AH Deep Cycle Battery, Built-in 100A BMS, 4000+ Cycles, Ideal for RV, Solar, Off-Grid, and Power Storage
P/N 34436
$299.99
(Inc. Tax)
$299.99
saved: $0
x
Sales Tax
Tenergy only collects sales tax on orders shipped to addresses in the States of California.
You may be responsible for state and local sales/use taxes when filing your tax returns. Please check your local sales tax laws.
jQuery(document).ready(function(){
jQuery('.productGrid .product').each(function(){
var htm= jQuery(this).find('.save_price.h .precision').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery(this).find('.save_price.h .precision').html(htnw);
});
var htm= jQuery('.productView-price .price-section .instant_price .saving-data').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery('.productView-price .price-section .instant_price .saving-data').html(htnw);
jQuery('.productCarousel').find('.productCarousel-slide').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
jQuery('.productGrid .product').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
});
Add to Cart
Free Shipping
document.addEventListener('DOMContentLoaded', function() {
// Function to handle Contact Us button redirects
function attachContactButtonListeners() {
document.querySelectorAll('.contact-us-button').forEach(function(button) {
// Skip if already has listener attached
if (button.hasAttribute('data-redirect-listener')) {
return;
}
button.setAttribute('data-redirect-listener', 'true');
button.addEventListener('click', function(e) {
e.preventDefault();
// Get the product URL from the product title link in the same card
const productCard = this.closest('.card');
if (productCard) {
// First try to get URL from product title link
const productTitleLink = productCard.querySelector('.card-title a');
if (productTitleLink && productTitleLink.href) {
console.log('Redirecting to:', productTitleLink.href);
window.location.href = productTitleLink.href;
return;
}
// Second try to get URL from product image link
const productImageLink = productCard.querySelector('.card-figure a');
if (productImageLink && productImageLink.href) {
console.log('Redirecting to:', productImageLink.href);
window.location.href = productImageLink.href;
return;
}
}
console.error('Could not find product URL for contact button');
});
});
}
// Initial attachment of contact button listeners
attachContactButtonListeners();
// button functionality
function handleButtonVisibility() {
document.querySelectorAll('.card, .cart-action, .product-item').forEach(function(container) {
const contactUsBtn = container.querySelector('.contact-us-button[data-contact-us="true"]');
if (contactUsBtn) {
// Target all buttons that contain "ADD TO CART" text or have cart-related classes
const allButtons = container.querySelectorAll('button, a[class*="button"], [class*="btn"]');
allButtons.forEach(function(btn) {
const buttonText = btn.textContent ? btn.textContent.trim().toLowerCase() : '';
const buttonClasses = btn.className ? btn.className.toLowerCase() : '';
// Hide buttons that are add-to-cart, buy-now, or out-of-stock related
if (
buttonText.includes('add to cart') ||
buttonText.includes('buy now') ||
buttonText.includes('out of stock') ||
buttonText.includes('add to bag') ||
buttonClasses.includes('add-to-cart') ||
buttonClasses.includes('cart-btn') ||
buttonClasses.includes('buy-now') ||
buttonClasses.includes('out-stock') ||
buttonClasses.includes('stock-out') ||
btn.hasAttribute('data-add-to-cart') ||
btn.hasAttribute('data-cart-item-add')
) {
if (!btn.classList.contains('contact-us-button')) {
btn.style.display = 'none';
}
}
});
// Also hide any form elements that might be cart forms
const cartForms = container.querySelectorAll('form[data-cart-item-add], form[action*="cart"]');
cartForms.forEach(function(form) {
if (!form.querySelector('.contact-us-button')) {
form.style.display = 'none';
}
});
// Ensure contact us button is visible
contactUsBtn.style.display = 'inline-block';
// Ensure images remain visible and functional
const images = container.querySelectorAll('img, picture, .image, .product-image');
images.forEach(function(img) {
img.style.display = '';
img.style.visibility = 'visible';
});
// Ensure image containers remain visible
const imageContainers = container.querySelectorAll(
'.card-image, .product-image-container, .image-container, .product-photo'
);
imageContainers.forEach(function(imgContainer) {
imgContainer.style.display = '';
imgContainer.style.visibility = 'visible';
});
}
});
// Re-attach contact button listeners after button visibility changes
attachContactButtonListeners();
}
// Multiple event listeners to catch all scenarios
const events = [
'DOMContentLoaded',
'load',
'ajaxComplete',
'facetedSearch.refreshComplete',
'facetedSearch.loaded',
'searchResults.loaded'
];
events.forEach(function(event) {
document.addEventListener(event, function() {
handleButtonVisibility();
// Extra delay for search events to ensure contact buttons are properly attached
if (event.includes('search') || event.includes('faceted')) {
setTimeout(attachContactButtonListeners, 200);
}
});
});
// Handle AJAX completion for search results
if (typeof $ !== 'undefined') {
$(document).ajaxComplete(function() {
setTimeout(function() {
handleButtonVisibility();
attachContactButtonListeners();
}, 150);
});
}
// MutationObserver for dynamic content
const observer = new MutationObserver(function(mutations) {
let shouldUpdate = false;
let hasNewContactButtons = false;
mutations.forEach(function(mutation) {
if (mutation.type === 'childList' && mutation.addedNodes.length > 0) {
mutation.addedNodes.forEach(function(node) {
if (node.nodeType === 1) {
// Check for product containers
if (node.classList.contains('card') ||
node.querySelector('.card') ||
node.classList.contains('product-item') ||
node.querySelector('.product-item')) {
shouldUpdate = true;
}
// Check for new contact buttons
if (node.classList.contains('contact-us-button') ||
node.querySelector('.contact-us-button')) {
hasNewContactButtons = true;
}
}
});
}
});
if (shouldUpdate) {
setTimeout(handleButtonVisibility, 100);
}
if (hasNewContactButtons) {
setTimeout(attachContactButtonListeners, 150);
}
});
observer.observe(document.body, {
childList: true,
subtree: true
});
// Fallback periodic check
setInterval(function() {
handleButtonVisibility();
// Extra check for search pages - ensure contact buttons have listeners
if (window.location.pathname.includes('/search') ||
window.location.search.includes('search') ||
document.querySelector('.search-results')) {
const buttonsWithoutListeners = document.querySelectorAll('.contact-us-button:not([data-redirect-listener])');
if (buttonsWithoutListeners.length > 0) {
console.log('Found contact buttons without listeners on search page, attaching...');
attachContactButtonListeners();
}
}
}, 2000);
}); By comparing all-battery.com to other leading websites in its niche, marketers and researchers can identify key traffic sources and growth opportunities. Explore our related resources below to find websites similar to all-battery.com.
Frequently Asked Questions Is all-battery.com a safe and secure website? Yes, according to our latest analysis, we detected a valid SSL certificate ensuring a secure connection.
What is the authority score of all-battery.com? As of July 24, 2026, all-battery.com holds an estimated domain authority score of 86/100 based on our VisitRank tracking algorithms.
What are the top alternatives to all-battery.com? You can find the best alternatives and similar sites to all-battery.com in our explore section, which includes competitors in the E-commerce & Retail sector.
Data Sources & Methodology: DNS telemetry and routing records are resolved via live root servers. Market valuation estimates are computed algorithmically based on proprietary historical indexation multiples and standardized digital asset appraisal methodologies.
Common Misspellings & Typo Domains for all-battery.com:
all-battery.com al-battery.com alll-battery.com ell-battery.com all-bettery.com all-battary.com akl-battery.com aol-battery.com
Top Alternatives to all-battery.com ↓ Quick view
Tenergy T600 Portable Power Station, 600Wh Backup Lithium Battery with 500W AC outlets and 258W DC/USB including 100W PD USB-C output
P/N 59151
$499.99
(Inc. Tax)
$499.99
saved: $0
x
Sales Tax
Tenergy only collects sales tax on orders shipped to addresses in the States of California.
You may be responsible for state and local sales/use taxes when filing your tax returns. Please check your local sales tax laws.
jQuery(document).ready(function(){
jQuery('.productGrid .product').each(function(){
var htm= jQuery(this).find('.save_price.h .precision').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery(this).find('.save_price.h .precision').html(htnw);
});
var htm= jQuery('.productView-price .price-section .instant_price .saving-data').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery('.productView-price .price-section .instant_price .saving-data').html(htnw);
jQuery('.productCarousel').find('.productCarousel-slide').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
jQuery('.productGrid .product').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
});
Add to Cart
Free Shipping
document.addEventListener('DOMContentLoaded', function() {
// Function to handle Contact Us button redirects
function attachContactButtonListeners() {
document.querySelectorAll('.contact-us-button').forEach(function(button) {
// Skip if already has listener attached
if (button.hasAttribute('data-redirect-listener')) {
return;
}
button.setAttribute('data-redirect-listener', 'true');
button.addEventListener('click', function(e) {
e.preventDefault();
// Get the product URL from the product title link in the same card
const productCard = this.closest('.card');
if (productCard) {
// First try to get URL from product title link
const productTitleLink = productCard.querySelector('.card-title a');
if (productTitleLink && productTitleLink.href) {
console.log('Redirecting to:', productTitleLink.href);
window.location.href = productTitleLink.href;
return;
}
// Second try to get URL from product image link
const productImageLink = productCard.querySelector('.card-figure a');
if (productImageLink && productImageLink.href) {
console.log('Redirecting to:', productImageLink.href);
window.location.href = productImageLink.href;
return;
}
}
console.error('Could not find product URL for contact button');
});
});
}
// Initial attachment of contact button listeners
attachContactButtonListeners();
// button functionality
function handleButtonVisibility() {
document.querySelectorAll('.card, .cart-action, .product-item').forEach(function(container) {
const contactUsBtn = container.querySelector('.contact-us-button[data-contact-us="true"]');
if (contactUsBtn) {
// Target all buttons that contain "ADD TO CART" text or have cart-related classes
const allButtons = container.querySelectorAll('button, a[class*="button"], [class*="btn"]');
allButtons.forEach(function(btn) {
const buttonText = btn.textContent ? btn.textContent.trim().toLowerCase() : '';
const buttonClasses = btn.className ? btn.className.toLowerCase() : '';
// Hide buttons that are add-to-cart, buy-now, or out-of-stock related
if (
buttonText.includes('add to cart') ||
buttonText.includes('buy now') ||
buttonText.includes('out of stock') ||
buttonText.includes('add to bag') ||
buttonClasses.includes('add-to-cart') ||
buttonClasses.includes('cart-btn') ||
buttonClasses.includes('buy-now') ||
buttonClasses.includes('out-stock') ||
buttonClasses.includes('stock-out') ||
btn.hasAttribute('data-add-to-cart') ||
btn.hasAttribute('data-cart-item-add')
) {
if (!btn.classList.contains('contact-us-button')) {
btn.style.display = 'none';
}
}
});
// Also hide any form elements that might be cart forms
const cartForms = container.querySelectorAll('form[data-cart-item-add], form[action*="cart"]');
cartForms.forEach(function(form) {
if (!form.querySelector('.contact-us-button')) {
form.style.display = 'none';
}
});
// Ensure contact us button is visible
contactUsBtn.style.display = 'inline-block';
// Ensure images remain visible and functional
const images = container.querySelectorAll('img, picture, .image, .product-image');
images.forEach(function(img) {
img.style.display = '';
img.style.visibility = 'visible';
});
// Ensure image containers remain visible
const imageContainers = container.querySelectorAll(
'.card-image, .product-image-container, .image-container, .product-photo'
);
imageContainers.forEach(function(imgContainer) {
imgContainer.style.display = '';
imgContainer.style.visibility = 'visible';
});
}
});
// Re-attach contact button listeners after button visibility changes
attachContactButtonListeners();
}
// Multiple event listeners to catch all scenarios
const events = [
'DOMContentLoaded',
'load',
'ajaxComplete',
'facetedSearch.refreshComplete',
'facetedSearch.loaded',
'searchResults.loaded'
];
events.forEach(function(event) {
document.addEventListener(event, function() {
handleButtonVisibility();
// Extra delay for search events to ensure contact buttons are properly attached
if (event.includes('search') || event.includes('faceted')) {
setTimeout(attachContactButtonListeners, 200);
}
});
});
// Handle AJAX completion for search results
if (typeof $ !== 'undefined') {
$(document).ajaxComplete(function() {
setTimeout(function() {
handleButtonVisibility();
attachContactButtonListeners();
}, 150);
});
}
// MutationObserver for dynamic content
const observer = new MutationObserver(function(mutations) {
let shouldUpdate = false;
let hasNewContactButtons = false;
mutations.forEach(function(mutation) {
if (mutation.type === 'childList' && mutation.addedNodes.length > 0) {
mutation.addedNodes.forEach(function(node) {
if (node.nodeType === 1) {
// Check for product containers
if (node.classList.contains('card') ||
node.querySelector('.card') ||
node.classList.contains('product-item') ||
node.querySelector('.product-item')) {
shouldUpdate = true;
}
// Check for new contact buttons
if (node.classList.contains('contact-us-button') ||
node.querySelector('.contact-us-button')) {
hasNewContactButtons = true;
}
}
});
}
});
if (shouldUpdate) {
setTimeout(handleButtonVisibility, 100);
}
if (hasNewContactButtons) {
setTimeout(attachContactButtonListeners, 150);
}
});
observer.observe(document.body, {
childList: true,
subtree: true
});
// Fallback periodic check
setInterval(function() {
handleButtonVisibility();
// Extra check for search pages - ensure contact buttons have listeners
if (window.location.pathname.includes('/search') ||
window.location.search.includes('search') ||
document.querySelector('.search-results')) {
const buttonsWithoutListeners = document.querySelectorAll('.contact-us-button:not([data-redirect-listener])');
if (buttonsWithoutListeners.length > 0) {
console.log('Found contact buttons without listeners on search page, attaching...');
attachContactButtonListeners();
}
}
}, 2000);
}); ↓ Quick view
Tenergy T320 Portable Power Station, 300Wh Battery, 110V/200W (Surge 400W) Two Pure Sine Wave AC outputs, USB type C PD 45W, Solar Ready Mobile Power for Outdoors Camping Vans RV Hunting Emergency Backup
P/N 59148
$314.99
(Inc. Tax)
$299.99
save $0.00
(Ex. Tax)
x
Sales Tax
Tenergy only collects sales tax on orders shipped to addresses in the States of California.
You may be responsible for state and local sales/use taxes when filing your tax returns. Please check your local sales tax laws.
jQuery(document).ready(function(){
jQuery('.productGrid .product').each(function(){
var htm= jQuery(this).find('.save_price.h .precision').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery(this).find('.save_price.h .precision').html(htnw);
});
var htm= jQuery('.productView-price .price-section .instant_price .saving-data').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery('.productView-price .price-section .instant_price .saving-data').html(htnw);
jQuery('.productCarousel').find('.productCarousel-slide').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
jQuery('.productGrid .product').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
});
Choose Options
Free Shipping
document.addEventListener('DOMContentLoaded', function() {
// Function to handle Contact Us button redirects
function attachContactButtonListeners() {
document.querySelectorAll('.contact-us-button').forEach(function(button) {
// Skip if already has listener attached
if (button.hasAttribute('data-redirect-listener')) {
return;
}
button.setAttribute('data-redirect-listener', 'true');
button.addEventListener('click', function(e) {
e.preventDefault();
// Get the product URL from the product title link in the same card
const productCard = this.closest('.card');
if (productCard) {
// First try to get URL from product title link
const productTitleLink = productCard.querySelector('.card-title a');
if (productTitleLink && productTitleLink.href) {
console.log('Redirecting to:', productTitleLink.href);
window.location.href = productTitleLink.href;
return;
}
// Second try to get URL from product image link
const productImageLink = productCard.querySelector('.card-figure a');
if (productImageLink && productImageLink.href) {
console.log('Redirecting to:', productImageLink.href);
window.location.href = productImageLink.href;
return;
}
}
console.error('Could not find product URL for contact button');
});
});
}
// Initial attachment of contact button listeners
attachContactButtonListeners();
// button functionality
function handleButtonVisibility() {
document.querySelectorAll('.card, .cart-action, .product-item').forEach(function(container) {
const contactUsBtn = container.querySelector('.contact-us-button[data-contact-us="true"]');
if (contactUsBtn) {
// Target all buttons that contain "ADD TO CART" text or have cart-related classes
const allButtons = container.querySelectorAll('button, a[class*="button"], [class*="btn"]');
allButtons.forEach(function(btn) {
const buttonText = btn.textContent ? btn.textContent.trim().toLowerCase() : '';
const buttonClasses = btn.className ? btn.className.toLowerCase() : '';
// Hide buttons that are add-to-cart, buy-now, or out-of-stock related
if (
buttonText.includes('add to cart') ||
buttonText.includes('buy now') ||
buttonText.includes('out of stock') ||
buttonText.includes('add to bag') ||
buttonClasses.includes('add-to-cart') ||
buttonClasses.includes('cart-btn') ||
buttonClasses.includes('buy-now') ||
buttonClasses.includes('out-stock') ||
buttonClasses.includes('stock-out') ||
btn.hasAttribute('data-add-to-cart') ||
btn.hasAttribute('data-cart-item-add')
) {
if (!btn.classList.contains('contact-us-button')) {
btn.style.display = 'none';
}
}
});
// Also hide any form elements that might be cart forms
const cartForms = container.querySelectorAll('form[data-cart-item-add], form[action*="cart"]');
cartForms.forEach(function(form) {
if (!form.querySelector('.contact-us-button')) {
form.style.display = 'none';
}
});
// Ensure contact us button is visible
contactUsBtn.style.display = 'inline-block';
// Ensure images remain visible and functional
const images = container.querySelectorAll('img, picture, .image, .product-image');
images.forEach(function(img) {
img.style.display = '';
img.style.visibility = 'visible';
});
// Ensure image containers remain visible
const imageContainers = container.querySelectorAll(
'.card-image, .product-image-container, .image-container, .product-photo'
);
imageContainers.forEach(function(imgContainer) {
imgContainer.style.display = '';
imgContainer.style.visibility = 'visible';
});
}
});
// Re-attach contact button listeners after button visibility changes
attachContactButtonListeners();
}
// Multiple event listeners to catch all scenarios
const events = [
'DOMContentLoaded',
'load',
'ajaxComplete',
'facetedSearch.refreshComplete',
'facetedSearch.loaded',
'searchResults.loaded'
];
events.forEach(function(event) {
document.addEventListener(event, function() {
handleButtonVisibility();
// Extra delay for search events to ensure contact buttons are properly attached
if (event.includes('search') || event.includes('faceted')) {
setTimeout(attachContactButtonListeners, 200);
}
});
});
// Handle AJAX completion for search results
if (typeof $ !== 'undefined') {
$(document).ajaxComplete(function() {
setTimeout(function() {
handleButtonVisibility();
attachContactButtonListeners();
}, 150);
});
}
// MutationObserver for dynamic content
const observer = new MutationObserver(function(mutations) {
let shouldUpdate = false;
let hasNewContactButtons = false;
mutations.forEach(function(mutation) {
if (mutation.type === 'childList' && mutation.addedNodes.length > 0) {
mutation.addedNodes.forEach(function(node) {
if (node.nodeType === 1) {
// Check for product containers
if (node.classList.contains('card') ||
node.querySelector('.card') ||
node.classList.contains('product-item') ||
node.querySelector('.product-item')) {
shouldUpdate = true;
}
// Check for new contact buttons
if (node.classList.contains('contact-us-button') ||
node.querySelector('.contact-us-button')) {
hasNewContactButtons = true;
}
}
});
}
});
if (shouldUpdate) {
setTimeout(handleButtonVisibility, 100);
}
if (hasNewContactButtons) {
setTimeout(attachContactButtonListeners, 150);
}
});
observer.observe(document.body, {
childList: true,
subtree: true
});
// Fallback periodic check
setInterval(function() {
handleButtonVisibility();
// Extra check for search pages - ensure contact buttons have listeners
if (window.location.pathname.includes('/search') ||
window.location.search.includes('search') ||
document.querySelector('.search-results')) {
const buttonsWithoutListeners = document.querySelectorAll('.contact-us-button:not([data-redirect-listener])');
if (buttonsWithoutListeners.length > 0) {
console.log('Found contact buttons without listeners on search page, attaching...');
attachContactButtonListeners();
}
}
}, 2000);
}); ↓ Quick view
Tenergy Premium PRO Rechargeable AA and AAA Batteries Combo, High Capacity Low Self-Discharge 2800mah AA and 1100mAh NiMH AAA Battery, 24 Pack, 12 AA and 12 AAA
P/N 10455
$42.99
(Inc. Tax)
$42.99
saved: $0
x
Sales Tax
Tenergy only collects sales tax on orders shipped to addresses in the States of California.
You may be responsible for state and local sales/use taxes when filing your tax returns. Please check your local sales tax laws.
jQuery(document).ready(function(){
jQuery('.productGrid .product').each(function(){
var htm= jQuery(this).find('.save_price.h .precision').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery(this).find('.save_price.h .precision').html(htnw);
});
var htm= jQuery('.productView-price .price-section .instant_price .saving-data').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery('.productView-price .price-section .instant_price .saving-data').html(htnw);
jQuery('.productCarousel').find('.productCarousel-slide').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
jQuery('.productGrid .product').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
});
Add to Cart
Free Shipping
document.addEventListener('DOMContentLoaded', function() {
// Function to handle Contact Us button redirects
function attachContactButtonListeners() {
document.querySelectorAll('.contact-us-button').forEach(function(button) {
// Skip if already has listener attached
if (button.hasAttribute('data-redirect-listener')) {
return;
}
button.setAttribute('data-redirect-listener', 'true');
button.addEventListener('click', function(e) {
e.preventDefault();
// Get the product URL from the product title link in the same card
const productCard = this.closest('.card');
if (productCard) {
// First try to get URL from product title link
const productTitleLink = productCard.querySelector('.card-title a');
if (productTitleLink && productTitleLink.href) {
console.log('Redirecting to:', productTitleLink.href);
window.location.href = productTitleLink.href;
return;
}
// Second try to get URL from product image link
const productImageLink = productCard.querySelector('.card-figure a');
if (productImageLink && productImageLink.href) {
console.log('Redirecting to:', productImageLink.href);
window.location.href = productImageLink.href;
return;
}
}
console.error('Could not find product URL for contact button');
});
});
}
// Initial attachment of contact button listeners
attachContactButtonListeners();
// button functionality
function handleButtonVisibility() {
document.querySelectorAll('.card, .cart-action, .product-item').forEach(function(container) {
const contactUsBtn = container.querySelector('.contact-us-button[data-contact-us="true"]');
if (contactUsBtn) {
// Target all buttons that contain "ADD TO CART" text or have cart-related classes
const allButtons = container.querySelectorAll('button, a[class*="button"], [class*="btn"]');
allButtons.forEach(function(btn) {
const buttonText = btn.textContent ? btn.textContent.trim().toLowerCase() : '';
const buttonClasses = btn.className ? btn.className.toLowerCase() : '';
// Hide buttons that are add-to-cart, buy-now, or out-of-stock related
if (
buttonText.includes('add to cart') ||
buttonText.includes('buy now') ||
buttonText.includes('out of stock') ||
buttonText.includes('add to bag') ||
buttonClasses.includes('add-to-cart') ||
buttonClasses.includes('cart-btn') ||
buttonClasses.includes('buy-now') ||
buttonClasses.includes('out-stock') ||
buttonClasses.includes('stock-out') ||
btn.hasAttribute('data-add-to-cart') ||
btn.hasAttribute('data-cart-item-add')
) {
if (!btn.classList.contains('contact-us-button')) {
btn.style.display = 'none';
}
}
});
// Also hide any form elements that might be cart forms
const cartForms = container.querySelectorAll('form[data-cart-item-add], form[action*="cart"]');
cartForms.forEach(function(form) {
if (!form.querySelector('.contact-us-button')) {
form.style.display = 'none';
}
});
// Ensure contact us button is visible
contactUsBtn.style.display = 'inline-block';
// Ensure images remain visible and functional
const images = container.querySelectorAll('img, picture, .image, .product-image');
images.forEach(function(img) {
img.style.display = '';
img.style.visibility = 'visible';
});
// Ensure image containers remain visible
const imageContainers = container.querySelectorAll(
'.card-image, .product-image-container, .image-container, .product-photo'
);
imageContainers.forEach(function(imgContainer) {
imgContainer.style.display = '';
imgContainer.style.visibility = 'visible';
});
}
});
// Re-attach contact button listeners after button visibility changes
attachContactButtonListeners();
}
// Multiple event listeners to catch all scenarios
const events = [
'DOMContentLoaded',
'load',
'ajaxComplete',
'facetedSearch.refreshComplete',
'facetedSearch.loaded',
'searchResults.loaded'
];
events.forEach(function(event) {
document.addEventListener(event, function() {
handleButtonVisibility();
// Extra delay for search events to ensure contact buttons are properly attached
if (event.includes('search') || event.includes('faceted')) {
setTimeout(attachContactButtonListeners, 200);
}
});
});
// Handle AJAX completion for search results
if (typeof $ !== 'undefined') {
$(document).ajaxComplete(function() {
setTimeout(function() {
handleButtonVisibility();
attachContactButtonListeners();
}, 150);
});
}
// MutationObserver for dynamic content
const observer = new MutationObserver(function(mutations) {
let shouldUpdate = false;
let hasNewContactButtons = false;
mutations.forEach(function(mutation) {
if (mutation.type === 'childList' && mutation.addedNodes.length > 0) {
mutation.addedNodes.forEach(function(node) {
if (node.nodeType === 1) {
// Check for product containers
if (node.classList.contains('card') ||
node.querySelector('.card') ||
node.classList.contains('product-item') ||
node.querySelector('.product-item')) {
shouldUpdate = true;
}
// Check for new contact buttons
if (node.classList.contains('contact-us-button') ||
node.querySelector('.contact-us-button')) {
hasNewContactButtons = true;
}
}
});
}
});
if (shouldUpdate) {
setTimeout(handleButtonVisibility, 100);
}
if (hasNewContactButtons) {
setTimeout(attachContactButtonListeners, 150);
}
});
observer.observe(document.body, {
childList: true,
subtree: true
});
// Fallback periodic check
setInterval(function() {
handleButtonVisibility();
// Extra check for search pages - ensure contact buttons have listeners
if (window.location.pathname.includes('/search') ||
window.location.search.includes('search') ||
document.querySelector('.search-results')) {
const buttonsWithoutListeners = document.querySelectorAll('.contact-us-button:not([data-redirect-listener])');
if (buttonsWithoutListeners.length > 0) {
console.log('Found contact buttons without listeners on search page, attaching...');
attachContactButtonListeners();
}
}
}, 2000);
});
Quick view
Tenergy T600 Portable Power Station, 600Wh Backup Lithium Battery with 500W AC outlets and 258W DC/USB including 100W PD USB-C output
P/N 59151
$499.99
(Inc. Tax)
$499.99
saved: $0
x
Sales Tax
Tenergy only collects sales tax on orders shipped to addresses in the States of California.
You may be responsible for state and local sales/use taxes when filing your tax returns. Please check your local sales tax laws.
jQuery(document).ready(function(){
jQuery('.productGrid .product').each(function(){
var htm= jQuery(this).find('.save_price.h .precision').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery(this).find('.save_price.h .precision').html(htnw);
});
var htm= jQuery('.productView-price .price-section .instant_price .saving-data').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery('.productView-price .price-section .instant_price .saving-data').html(htnw);
jQuery('.productCarousel').find('.productCarousel-slide').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
jQuery('.productGrid .product').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
});
Add to Cart
Free Shipping
document.addEventListener('DOMContentLoaded', function() {
// Function to handle Contact Us button redirects
function attachContactButtonListeners() {
document.querySelectorAll('.contact-us-button').forEach(function(button) {
// Skip if already has listener attached
if (button.hasAttribute('data-redirect-listener')) {
return;
}
button.setAttribute('data-redirect-listener', 'true');
button.addEventListener('click', function(e) {
e.preventDefault();
// Get the product URL from the product title link in the same card
const productCard = this.closest('.card');
if (productCard) {
// First try to get URL from product title link
const productTitleLink = productCard.querySelector('.card-title a');
if (productTitleLink && productTitleLink.href) {
console.log('Redirecting to:', productTitleLink.href);
window.location.href = productTitleLink.href;
return;
}
// Second try to get URL from product image link
const productImageLink = productCard.querySelector('.card-figure a');
if (productImageLink && productImageLink.href) {
console.log('Redirecting to:', productImageLink.href);
window.location.href = productImageLink.href;
return;
}
}
console.error('Could not find product URL for contact button');
});
});
}
// Initial attachment of contact button listeners
attachContactButtonListeners();
// button functionality
function handleButtonVisibility() {
document.querySelectorAll('.card, .cart-action, .product-item').forEach(function(container) {
const contactUsBtn = container.querySelector('.contact-us-button[data-contact-us="true"]');
if (contactUsBtn) {
// Target all buttons that contain "ADD TO CART" text or have cart-related classes
const allButtons = container.querySelectorAll('button, a[class*="button"], [class*="btn"]');
allButtons.forEach(function(btn) {
const buttonText = btn.textContent ? btn.textContent.trim().toLowerCase() : '';
const buttonClasses = btn.className ? btn.className.toLowerCase() : '';
// Hide buttons that are add-to-cart, buy-now, or out-of-stock related
if (
buttonText.includes('add to cart') ||
buttonText.includes('buy now') ||
buttonText.includes('out of stock') ||
buttonText.includes('add to bag') ||
buttonClasses.includes('add-to-cart') ||
buttonClasses.includes('cart-btn') ||
buttonClasses.includes('buy-now') ||
buttonClasses.includes('out-stock') ||
buttonClasses.includes('stock-out') ||
btn.hasAttribute('data-add-to-cart') ||
btn.hasAttribute('data-cart-item-add')
) {
if (!btn.classList.contains('contact-us-button')) {
btn.style.display = 'none';
}
}
});
// Also hide any form elements that might be cart forms
const cartForms = container.querySelectorAll('form[data-cart-item-add], form[action*="cart"]');
cartForms.forEach(function(form) {
if (!form.querySelector('.contact-us-button')) {
form.style.display = 'none';
}
});
// Ensure contact us button is visible
contactUsBtn.style.display = 'inline-block';
// Ensure images remain visible and functional
const images = container.querySelectorAll('img, picture, .image, .product-image');
images.forEach(function(img) {
img.style.display = '';
img.style.visibility = 'visible';
});
// Ensure image containers remain visible
const imageContainers = container.querySelectorAll(
'.card-image, .product-image-container, .image-container, .product-photo'
);
imageContainers.forEach(function(imgContainer) {
imgContainer.style.display = '';
imgContainer.style.visibility = 'visible';
});
}
});
// Re-attach contact button listeners after button visibility changes
attachContactButtonListeners();
}
// Multiple event listeners to catch all scenarios
const events = [
'DOMContentLoaded',
'load',
'ajaxComplete',
'facetedSearch.refreshComplete',
'facetedSearch.loaded',
'searchResults.loaded'
];
events.forEach(function(event) {
document.addEventListener(event, function() {
handleButtonVisibility();
// Extra delay for search events to ensure contact buttons are properly attached
if (event.includes('search') || event.includes('faceted')) {
setTimeout(attachContactButtonListeners, 200);
}
});
});
// Handle AJAX completion for search results
if (typeof $ !== 'undefined') {
$(document).ajaxComplete(function() {
setTimeout(function() {
handleButtonVisibility();
attachContactButtonListeners();
}, 150);
});
}
// MutationObserver for dynamic content
const observer = new MutationObserver(function(mutations) {
let shouldUpdate = false;
let hasNewContactButtons = false;
mutations.forEach(function(mutation) {
if (mutation.type === 'childList' && mutation.addedNodes.length > 0) {
mutation.addedNodes.forEach(function(node) {
if (node.nodeType === 1) {
// Check for product containers
if (node.classList.contains('card') ||
node.querySelector('.card') ||
node.classList.contains('product-item') ||
node.querySelector('.product-item')) {
shouldUpdate = true;
}
// Check for new contact buttons
if (node.classList.contains('contact-us-button') ||
node.querySelector('.contact-us-button')) {
hasNewContactButtons = true;
}
}
});
}
});
if (shouldUpdate) {
setTimeout(handleButtonVisibility, 100);
}
if (hasNewContactButtons) {
setTimeout(attachContactButtonListeners, 150);
}
});
observer.observe(document.body, {
childList: true,
subtree: true
});
// Fallback periodic check
setInterval(function() {
handleButtonVisibility();
// Extra check for search pages - ensure contact buttons have listeners
if (window.location.pathname.includes('/search') ||
window.location.search.includes('search') ||
document.querySelector('.search-results')) {
const buttonsWithoutListeners = document.querySelectorAll('.contact-us-button:not([data-redirect-listener])');
if (buttonsWithoutListeners.length > 0) {
console.log('Found contact buttons without listeners on search page, attaching...');
attachContactButtonListeners();
}
}
}, 2000);
});
Quick view
Tenergy T320 Portable Power Station, 300Wh Battery, 110V/200W (Surge 400W) Two Pure Sine Wave AC outputs, USB type C PD 45W, Solar Ready Mobile Power for Outdoors Camping Vans RV Hunting Emergency Backup
P/N 59148
$314.99
(Inc. Tax)
$299.99
save $0.00
(Ex. Tax)
x
Sales Tax
Tenergy only collects sales tax on orders shipped to addresses in the States of California.
You may be responsible for state and local sales/use taxes when filing your tax returns. Please check your local sales tax laws.
jQuery(document).ready(function(){
jQuery('.productGrid .product').each(function(){
var htm= jQuery(this).find('.save_price.h .precision').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery(this).find('.save_price.h .precision').html(htnw);
});
var htm= jQuery('.productView-price .price-section .instant_price .saving-data').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery('.productView-price .price-section .instant_price .saving-data').html(htnw);
jQuery('.productCarousel').find('.productCarousel-slide').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
jQuery('.productGrid .product').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
});
Choose Options
Free Shipping
document.addEventListener('DOMContentLoaded', function() {
// Function to handle Contact Us button redirects
function attachContactButtonListeners() {
document.querySelectorAll('.contact-us-button').forEach(function(button) {
// Skip if already has listener attached
if (button.hasAttribute('data-redirect-listener')) {
return;
}
button.setAttribute('data-redirect-listener', 'true');
button.addEventListener('click', function(e) {
e.preventDefault();
// Get the product URL from the product title link in the same card
const productCard = this.closest('.card');
if (productCard) {
// First try to get URL from product title link
const productTitleLink = productCard.querySelector('.card-title a');
if (productTitleLink && productTitleLink.href) {
console.log('Redirecting to:', productTitleLink.href);
window.location.href = productTitleLink.href;
return;
}
// Second try to get URL from product image link
const productImageLink = productCard.querySelector('.card-figure a');
if (productImageLink && productImageLink.href) {
console.log('Redirecting to:', productImageLink.href);
window.location.href = productImageLink.href;
return;
}
}
console.error('Could not find product URL for contact button');
});
});
}
// Initial attachment of contact button listeners
attachContactButtonListeners();
// button functionality
function handleButtonVisibility() {
document.querySelectorAll('.card, .cart-action, .product-item').forEach(function(container) {
const contactUsBtn = container.querySelector('.contact-us-button[data-contact-us="true"]');
if (contactUsBtn) {
// Target all buttons that contain "ADD TO CART" text or have cart-related classes
const allButtons = container.querySelectorAll('button, a[class*="button"], [class*="btn"]');
allButtons.forEach(function(btn) {
const buttonText = btn.textContent ? btn.textContent.trim().toLowerCase() : '';
const buttonClasses = btn.className ? btn.className.toLowerCase() : '';
// Hide buttons that are add-to-cart, buy-now, or out-of-stock related
if (
buttonText.includes('add to cart') ||
buttonText.includes('buy now') ||
buttonText.includes('out of stock') ||
buttonText.includes('add to bag') ||
buttonClasses.includes('add-to-cart') ||
buttonClasses.includes('cart-btn') ||
buttonClasses.includes('buy-now') ||
buttonClasses.includes('out-stock') ||
buttonClasses.includes('stock-out') ||
btn.hasAttribute('data-add-to-cart') ||
btn.hasAttribute('data-cart-item-add')
) {
if (!btn.classList.contains('contact-us-button')) {
btn.style.display = 'none';
}
}
});
// Also hide any form elements that might be cart forms
const cartForms = container.querySelectorAll('form[data-cart-item-add], form[action*="cart"]');
cartForms.forEach(function(form) {
if (!form.querySelector('.contact-us-button')) {
form.style.display = 'none';
}
});
// Ensure contact us button is visible
contactUsBtn.style.display = 'inline-block';
// Ensure images remain visible and functional
const images = container.querySelectorAll('img, picture, .image, .product-image');
images.forEach(function(img) {
img.style.display = '';
img.style.visibility = 'visible';
});
// Ensure image containers remain visible
const imageContainers = container.querySelectorAll(
'.card-image, .product-image-container, .image-container, .product-photo'
);
imageContainers.forEach(function(imgContainer) {
imgContainer.style.display = '';
imgContainer.style.visibility = 'visible';
});
}
});
// Re-attach contact button listeners after button visibility changes
attachContactButtonListeners();
}
// Multiple event listeners to catch all scenarios
const events = [
'DOMContentLoaded',
'load',
'ajaxComplete',
'facetedSearch.refreshComplete',
'facetedSearch.loaded',
'searchResults.loaded'
];
events.forEach(function(event) {
document.addEventListener(event, function() {
handleButtonVisibility();
// Extra delay for search events to ensure contact buttons are properly attached
if (event.includes('search') || event.includes('faceted')) {
setTimeout(attachContactButtonListeners, 200);
}
});
});
// Handle AJAX completion for search results
if (typeof $ !== 'undefined') {
$(document).ajaxComplete(function() {
setTimeout(function() {
handleButtonVisibility();
attachContactButtonListeners();
}, 150);
});
}
// MutationObserver for dynamic content
const observer = new MutationObserver(function(mutations) {
let shouldUpdate = false;
let hasNewContactButtons = false;
mutations.forEach(function(mutation) {
if (mutation.type === 'childList' && mutation.addedNodes.length > 0) {
mutation.addedNodes.forEach(function(node) {
if (node.nodeType === 1) {
// Check for product containers
if (node.classList.contains('card') ||
node.querySelector('.card') ||
node.classList.contains('product-item') ||
node.querySelector('.product-item')) {
shouldUpdate = true;
}
// Check for new contact buttons
if (node.classList.contains('contact-us-button') ||
node.querySelector('.contact-us-button')) {
hasNewContactButtons = true;
}
}
});
}
});
if (shouldUpdate) {
setTimeout(handleButtonVisibility, 100);
}
if (hasNewContactButtons) {
setTimeout(attachContactButtonListeners, 150);
}
});
observer.observe(document.body, {
childList: true,
subtree: true
});
// Fallback periodic check
setInterval(function() {
handleButtonVisibility();
// Extra check for search pages - ensure contact buttons have listeners
if (window.location.pathname.includes('/search') ||
window.location.search.includes('search') ||
document.querySelector('.search-results')) {
const buttonsWithoutListeners = document.querySelectorAll('.contact-us-button:not([data-redirect-listener])');
if (buttonsWithoutListeners.length > 0) {
console.log('Found contact buttons without listeners on search page, attaching...');
attachContactButtonListeners();
}
}
}, 2000);
});
Quick view
Tenergy Premium PRO Rechargeable AA and AAA Batteries Combo, High Capacity Low Self-Discharge 2800mah AA and 1100mAh NiMH AAA Battery, 24 Pack, 12 AA and 12 AAA
P/N 10455
$42.99
(Inc. Tax)
$42.99
saved: $0
x
Sales Tax
Tenergy only collects sales tax on orders shipped to addresses in the States of California.
You may be responsible for state and local sales/use taxes when filing your tax returns. Please check your local sales tax laws.
jQuery(document).ready(function(){
jQuery('.productGrid .product').each(function(){
var htm= jQuery(this).find('.save_price.h .precision').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery(this).find('.save_price.h .precision').html(htnw);
});
var htm= jQuery('.productView-price .price-section .instant_price .saving-data').html();
var htnw= parseFloat(htm).toFixed(2);
jQuery('.productView-price .price-section .instant_price .saving-data').html(htnw);
jQuery('.productCarousel').find('.productCarousel-slide').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
jQuery('.productGrid .product').each(function(){
var ht= jQuery(this).find('.precision').html();
var htnw= parseFloat(ht).toFixed(2);
jQuery(this).find('.precision').html(htnw);
});
});
Add to Cart
Free Shipping
document.addEventListener('DOMContentLoaded', function() {
// Function to handle Contact Us button redirects
function attachContactButtonListeners() {
document.querySelectorAll('.contact-us-button').forEach(function(button) {
// Skip if already has listener attached
if (button.hasAttribute('data-redirect-listener')) {
return;
}
button.setAttribute('data-redirect-listener', 'true');
button.addEventListener('click', function(e) {
e.preventDefault();
// Get the product URL from the product title link in the same card
const productCard = this.closest('.card');
if (productCard) {
// First try to get URL from product title link
const productTitleLink = productCard.querySelector('.card-title a');
if (productTitleLink && productTitleLink.href) {
console.log('Redirecting to:', productTitleLink.href);
window.location.href = productTitleLink.href;
return;
}
// Second try to get URL from product image link
const productImageLink = productCard.querySelector('.card-figure a');
if (productImageLink && productImageLink.href) {
console.log('Redirecting to:', productImageLink.href);
window.location.href = productImageLink.href;
return;
}
}
console.error('Could not find product URL for contact button');
});
});
}
// Initial attachment of contact button listeners
attachContactButtonListeners();
// button functionality
function handleButtonVisibility() {
document.querySelectorAll('.card, .cart-action, .product-item').forEach(function(container) {
const contactUsBtn = container.querySelector('.contact-us-button[data-contact-us="true"]');
if (contactUsBtn) {
// Target all buttons that contain "ADD TO CART" text or have cart-related classes
const allButtons = container.querySelectorAll('button, a[class*="button"], [class*="btn"]');
allButtons.forEach(function(btn) {
const buttonText = btn.textContent ? btn.textContent.trim().toLowerCase() : '';
const buttonClasses = btn.className ? btn.className.toLowerCase() : '';
// Hide buttons that are add-to-cart, buy-now, or out-of-stock related
if (
buttonText.includes('add to cart') ||
buttonText.includes('buy now') ||
buttonText.includes('out of stock') ||
buttonText.includes('add to bag') ||
buttonClasses.includes('add-to-cart') ||
buttonClasses.includes('cart-btn') ||
buttonClasses.includes('buy-now') ||
buttonClasses.includes('out-stock') ||
buttonClasses.includes('stock-out') ||
btn.hasAttribute('data-add-to-cart') ||
btn.hasAttribute('data-cart-item-add')
) {
if (!btn.classList.contains('contact-us-button')) {
btn.style.display = 'none';
}
}
});
// Also hide any form elements that might be cart forms
const cartForms = container.querySelectorAll('form[data-cart-item-add], form[action*="cart"]');
cartForms.forEach(function(form) {
if (!form.querySelector('.contact-us-button')) {
form.style.display = 'none';
}
});
// Ensure contact us button is visible
contactUsBtn.style.display = 'inline-block';
// Ensure images remain visible and functional
const images = container.querySelectorAll('img, picture, .image, .product-image');
images.forEach(function(img) {
img.style.display = '';
img.style.visibility = 'visible';
});
// Ensure image containers remain visible
const imageContainers = container.querySelectorAll(
'.card-image, .product-image-container, .image-container, .product-photo'
);
imageContainers.forEach(function(imgContainer) {
imgContainer.style.display = '';
imgContainer.style.visibility = 'visible';
});
}
});
// Re-attach contact button listeners after button visibility changes
attachContactButtonListeners();
}
// Multiple event listeners to catch all scenarios
const events = [
'DOMContentLoaded',
'load',
'ajaxComplete',
'facetedSearch.refreshComplete',
'facetedSearch.loaded',
'searchResults.loaded'
];
events.forEach(function(event) {
document.addEventListener(event, function() {
handleButtonVisibility();
// Extra delay for search events to ensure contact buttons are properly attached
if (event.includes('search') || event.includes('faceted')) {
setTimeout(attachContactButtonListeners, 200);
}
});
});
// Handle AJAX completion for search results
if (typeof $ !== 'undefined') {
$(document).ajaxComplete(function() {
setTimeout(function() {
handleButtonVisibility();
attachContactButtonListeners();
}, 150);
});
}
// MutationObserver for dynamic content
const observer = new MutationObserver(function(mutations) {
let shouldUpdate = false;
let hasNewContactButtons = false;
mutations.forEach(function(mutation) {
if (mutation.type === 'childList' && mutation.addedNodes.length > 0) {
mutation.addedNodes.forEach(function(node) {
if (node.nodeType === 1) {
// Check for product containers
if (node.classList.contains('card') ||
node.querySelector('.card') ||
node.classList.contains('product-item') ||
node.querySelector('.product-item')) {
shouldUpdate = true;
}
// Check for new contact buttons
if (node.classList.contains('contact-us-button') ||
node.querySelector('.contact-us-button')) {
hasNewContactButtons = true;
}
}
});
}
});
if (shouldUpdate) {
setTimeout(handleButtonVisibility, 100);
}
if (hasNewContactButtons) {
setTimeout(attachContactButtonListeners, 150);
}
});
observer.observe(document.body, {
childList: true,
subtree: true
});
// Fallback periodic check
setInterval(function() {
handleButtonVisibility();
// Extra check for search pages - ensure contact buttons have listeners
if (window.location.pathname.includes('/search') ||
window.location.search.includes('search') ||
document.querySelector('.search-results')) {
const buttonsWithoutListeners = document.querySelectorAll('.contact-us-button:not([data-redirect-listener])');
if (buttonsWithoutListeners.length > 0) {
console.log('Found contact buttons without listeners on search page, attaching...');
attachContactButtonListeners();
}
}
}, 2000);
});