(function () { function initCollectionNavigation() { const currentPath = window.location.pathname .replace(/\/+$/, ''); document.querySelectorAll( '.atc-collection-nav' ).forEach(function (nav) { const links = nav.querySelectorAll( '.atc-nav-link' ); links.forEach(function (link) { const linkPath = new URL( link.href, window.location.origin ).pathname.replace(/\/+$/, ''); link.removeAttribute('aria-current'); if (currentPath === linkPath) { link.setAttribute( 'aria-current', 'page' ); } }); }); } if (document.readyState === 'loading') { document.addEventListener( 'DOMContentLoaded', initCollectionNavigation ); } else { initCollectionNavigation(); } })();
✦ SMART SHOPPING STARTS HERE

DISCOVER MORE. SPEND LESS.

Discover everyday essentials, home and living, electronics, fashion, outdoor products and more. Explore a growing collection of products, all in one convenient place.

✓ Free Standard Shipping ✓ Secure Checkout ✓ 30-Day Eligible Returns
Loading Featured Product...
Discover Our Featured Products
Shop Products →
🚚 FREE SHIPPING On eligible US orders
(function () { function decodeHTML(value) { const textarea = document.createElement("textarea"); textarea.innerHTML = value || ""; return textarea.value; } function formatPrice(amount, prices) { const decimals = Number( prices.currency_minor_unit ?? 2 ); const number = Number(amount) / Math.pow(10, decimals); const formatted = number.toFixed(decimals); const parts = formatted.split("."); parts[0] = parts[0].replace( /\B(?=(\d{3})+(?!\d))/g, prices.currency_thousand_separator ?? "," ); return decodeHTML( prices.currency_prefix ?? prices.currency_symbol ?? "" ) + parts.join( prices.currency_decimal_separator ?? "." ) + decodeHTML(prices.currency_suffix || ""); } async function loadProduct(hero) { if (hero.dataset.atcLoaded === "true") { return; } hero.dataset.atcLoaded = "true"; const productID = Number( hero.dataset.productId || 0 ); const productSlug = hero.dataset.productSlug || ""; const image = hero.querySelector( ".atc-product-image" ); const placeholder = hero.querySelector( ".atc-placeholder" ); const title = hero.querySelector( ".atc-product-title" ); const currentPrice = hero.querySelector( ".atc-current-price" ); const oldPrice = hero.querySelector( ".atc-old-price" ); const priceRow = hero.querySelector( ".atc-price-row" ); const saleBadge = hero.querySelector( ".atc-save" ); const specialOffer = hero.querySelector( ".atc-floating-discount" ); const discountText = hero.querySelector( ".atc-discount-text" ); const productButton = hero.querySelector( ".atc-product-btn" ); const apiLink = document.querySelector( 'link[rel="https://api.w.org/"]' ); const apiRoot = apiLink ? apiLink.href : window.location.origin + "/wp-json/"; function makeAPIUrl(route, params = {}) { const url = new URL( apiRoot, window.location.origin ); if (url.searchParams.has("rest_route")) { url.searchParams.set( "rest_route", "/wc/store/v1/" + route ); } else { url.pathname = url.pathname.replace(/\/+$/, "") + "/wc/store/v1/" + route; } Object.entries(params).forEach( ([key, value]) => { url.searchParams.set(key, value); } ); return url.toString(); } try { let apiURL; /* FIRST PRIORITY: PRODUCT ID */ if (productID > 0) { apiURL = makeAPIUrl( "products/" + productID ); } else { /* SECOND PRIORITY: PRODUCT SLUG */ apiURL = makeAPIUrl("products", { slug: productSlug, per_page: 1 }); } const response = await fetch(apiURL, { credentials: "same-origin" }); if (!response.ok) { throw new Error( "WooCommerce product API error" ); } const result = await response.json(); const product = Array.isArray(result) ? result[0] : result; if (!product || !product.id) { throw new Error( "Featured product not found" ); } /* PRODUCT NAME */ title.textContent = decodeHTML( product.name ); /* PRODUCT IMAGE */ if ( product.images && product.images.length > 0 ) { image.alt = decodeHTML( product.images[0].alt || product.name ); image.onload = function () { placeholder.hidden = true; image.hidden = false; }; image.onerror = function () { image.hidden = true; placeholder.hidden = false; placeholder.textContent = "Featured Product"; }; image.src = product.images[0].src; } else { placeholder.textContent = "Featured Product"; } /* PRODUCT LINK */ productButton.href = product.permalink || "/shop/"; productButton.textContent = "View This Product →"; /* DYNAMIC PRICE */ const prices = product.prices || {}; const current = Number(prices.price); const regular = Number( prices.regular_price ); const hasRange = prices.price_range && prices.price_range.min_amount !== prices.price_range.max_amount; if ( prices.price !== undefined && prices.price !== null && prices.price !== "" && Number.isFinite(current) ) { if (hasRange) { currentPrice.textContent = formatPrice( prices.price_range.min_amount, prices ) + " – " + formatPrice( prices.price_range.max_amount, prices ); } else { currentPrice.textContent = formatPrice(current, prices); } priceRow.hidden = false; } /* AUTOMATIC DISCOUNT */ if ( !hasRange && product.type !== "variable" && product.on_sale && regular > current && current >= 0 && prices.price !== "" && prices.price != null ) { const discount = Math.round( ((regular - current) / regular) * 100 ); if (discount > 0) { oldPrice.textContent = formatPrice(regular, prices); oldPrice.hidden = false; saleBadge.textContent = "SAVE " + discount + "%"; saleBadge.hidden = false; discountText.textContent = "Save " + discount + "% on this item"; specialOffer.hidden = false; } } } catch (error) { /* SAFE FALLBACK */ placeholder.hidden = false; placeholder.textContent = "Discover Our Featured Products"; title.textContent = "Explore Our Product Collection"; image.hidden = true; priceRow.hidden = true; saleBadge.hidden = true; specialOffer.hidden = true; productButton.href = "/shop/"; productButton.textContent = "Shop Products →"; console.warn( "AddToCart featured product:", error.message ); } } function initHero() { document.querySelectorAll( ".atc-hero-v2" ).forEach(loadProduct); } if (document.readyState === "loading") { document.addEventListener( "DOMContentLoaded", initHero ); } else { initHero(); } })();
(function () { function initATCSearch() { const params = new URLSearchParams( window.location.search ); const searchTerm = params.get("s") || ""; document.querySelectorAll( ".atc-search-wrap" ).forEach(function (wrapper) { const form = wrapper.querySelector( ".atc-search-form" ); const input = wrapper.querySelector( ".atc-search-input" ); if (!form || !input) return; if (wrapper.dataset.searchReady === "true") return; wrapper.dataset.searchReady = "true"; /* PRESERVE PREVIOUS SEARCH */ if (searchTerm) { input.value = searchTerm; } /* PREVENT EMPTY SEARCH */ form.addEventListener( "submit", function (event) { const value = input.value.trim(); if (!value) { event.preventDefault(); input.focus(); return; } input.value = value; } ); }); } if (document.readyState === "loading") { document.addEventListener( "DOMContentLoaded", initATCSearch ); } else { initATCSearch(); } })();
SHOP BY CATEGORY

Explore Our Collections

Discover quality equipment, outdoor essentials, home products, and much more.

Loading collections...
(function () { /* ==================================== CATEGORY SETTINGS Use actual WooCommerce category IDs. Keep ID 0 for automatic slug matching. ==================================== */ const categories = [ { id: 0, slug: "mowers-tractors", name: "Mowers & Tractors", icon: ` ` }, { id: 0, slug: "snow-equipment", name: "Snow Equipment", icon: ` ` }, { id: 0, slug: "trailers-hauling", name: "Trailers & Hauling", icon: ` ` }, { id: 0, slug: "sheds-outdoor-storage", name: "Sheds & Outdoor Storage", icon: ` ` }, { id: 0, slug: "auto-lifts-jacks", name: "Auto Lifts & Jacks", icon: ` ` }, { id: 0, slug: "log-splitters-wood-care", name: "Log Splitters & Wood Care", icon: ` ` }, { id: 0, slug: "pressure-washers", name: "Pressure Washers", icon: ` ` }, { id: 0, slug: "generators-power", name: "Generators & Power", icon: ` ` }, { id: 0, slug: "appliances", name: "Appliances", icon: ` ` }, { id: 0, slug: "outboard-motors-marine", name: "Outboard Motors & Marine", icon: ` ` }, { id: 0, slug: "outdoor-living-recreation", name: "Outdoor Living & Recreation", icon: ` ` }, { id: 0, slug: "home-tools-lifestyle", name: "Home, Tools & Lifestyle", icon: ` ` } ]; /* ==================================== WOOCOMMERCE API ==================================== */ const apiLink = document.querySelector( 'link[rel="https://api.w.org/"]' ); const apiRoot = apiLink ? apiLink.href : window.location.origin + "/wp-json/"; function apiURL(route, params = {}) { const url = new URL(apiRoot); if (url.searchParams.has("rest_route")) { url.searchParams.set( "rest_route", "/wc/store/v1/" + route ); } else { url.pathname = url.pathname.replace(/\/+$/, "") + "/wc/store/v1/" + route; } Object.entries(params).forEach( ([key, value]) => { url.searchParams.set(key, value); } ); return url.toString(); } async function getJSON(route, params = {}) { const response = await fetch( apiURL(route, params), { credentials: "same-origin" } ); if (!response.ok) { throw new Error("WooCommerce API unavailable"); } return response.json(); } /* DECODE WOOCOMMERCE TEXT */ function decode(value) { const el = document.createElement("textarea"); el.innerHTML = value || ""; return el.value; } /* ==================================== LOAD ALL PRODUCT CATEGORIES ==================================== */ async function getAllCategories() { let list = []; let page = 1; while (true) { const result = await getJSON( "products/categories", { per_page: 100, page: page, hide_empty: false } ); if (!Array.isArray(result)) { break; } list = list.concat(result); if (result.length 50) break; } return list; } /* ==================================== CREATE CATEGORY CARD ==================================== */ function createCard(config, category) { const name = decode(category.name); const card = document.createElement("a"); card.className = "atc-card"; card.href = category.permalink || "/product-category/" + encodeURIComponent(category.slug) + "/"; card.innerHTML = `
`; card.querySelector( ".atc-name" ).textContent = name; card.querySelector( ".atc-no-image" ).textContent = name; /* AUTOMATIC PRODUCT COUNT */ const count = Number(category.count); card.querySelector( ".atc-count" ).textContent = Number.isFinite(count) ? count.toLocaleString() + (count === 1 ? " Product" : " Products") : "Explore Products"; /* LOAD CATEGORY IMAGE */ async function loadImage() { let imageURL = category.image?.src || ""; /* FIRST PRODUCT IMAGE FALLBACK */ if (!imageURL && category.id) { try { const products = await getJSON( "products", { category: category.id, per_page: 1 } ); imageURL = products[0]?.images?.[0]?.src || ""; } catch (error) { imageURL = ""; } } if (!imageURL) return; const photo = card.querySelector( ".atc-photo" ); const img = document.createElement("img"); img.alt = name; img.loading = "lazy"; img.decoding = "async"; img.addEventListener("load", function () { const placeholder = photo.querySelector( ".atc-no-image" ); if (placeholder) { placeholder.remove(); } img.style.display = "block"; }); img.addEventListener("error", function () { img.remove(); }); img.style.display = "none"; photo.appendChild(img); img.src = imageURL; } loadImage(); return card; } /* ==================================== INITIALIZE CATEGORY SECTION ==================================== */ async function initCategories(section) { if (section.dataset.atcReady === "true") { return; } section.dataset.atcReady = "true"; const grid = section.querySelector( ".atc-grid" ); try { const allCategories = await getAllCategories(); grid.replaceChildren(); let displayed = 0; categories.forEach(function (config) { const category = allCategories.find( function (item) { if (config.id > 0) { return Number(item.id) === Number(config.id); } return item.slug === config.slug; } ); /* SKIP NON-EXISTING CATEGORIES */ if (!category) return; const card = createCard( config, category ); grid.appendChild(card); displayed++; }); if (displayed === 0) { const message = document.createElement("div"); message.className = "atc-status"; message.textContent = "Collections are currently unavailable."; grid.appendChild(message); } } catch (error) { const message = document.createElement("div"); message.className = "atc-status"; message.textContent = "Unable to load collections. Please refresh the page."; grid.replaceChildren(message); console.warn( "AddToCart Collections:", error.message ); } finally { grid.setAttribute( "aria-busy", "false" ); } } function start() { document.querySelectorAll( ".atc-categories" ).forEach(initCategories); } if (document.readyState === "loading") { document.addEventListener( "DOMContentLoaded", start ); } else { start(); } })();
(function () { /* API ROOT */ const apiLink = document.querySelector( 'link[rel="https://api.w.org/"]' ); const apiRoot = apiLink ? apiLink.href : window.location.origin + "/wp-json/"; function apiURL(route, params = {}) { const url = new URL( apiRoot, window.location.origin ); if (url.searchParams.has("rest_route")) { url.searchParams.set( "rest_route", "/wc/store/v1/" + route ); } else { url.pathname = url.pathname.replace(/\/+$/, "") + "/wc/store/v1/" + route; } Object.entries(params).forEach( ([key, value]) => { url.searchParams.set(key, value); } ); return url.toString(); } /* FETCH WOOCOMMERCE DATA */ async function getJSON(route, params = {}) { const response = await fetch( apiURL(route, params), { credentials: "same-origin" } ); if (!response.ok) { throw new Error( "WooCommerce API unavailable" ); } return response.json(); } /* DECODE PRODUCT TEXT */ function decode(value) { const el = document.createElement("textarea"); el.innerHTML = value || ""; return el.value; } /* ==================================== WOOCOMMERCE PRICE FORMAT ==================================== */ function formatPrice(amount, prices) { const decimals = Number( prices.currency_minor_unit ?? 2 ); const value = Number(amount) / Math.pow(10, decimals); if (!Number.isFinite(value)) return ""; const parts = value .toFixed(decimals) .split("."); parts[0] = parts[0].replace( /\B(?=(\d{3})+(?!\d))/g, prices.currency_thousand_separator ?? "," ); return decode( prices.currency_prefix ?? prices.currency_symbol ?? "" ) + parts.join( prices.currency_decimal_separator ?? "." ) + decode( prices.currency_suffix || "" ); } /* SVG CART ICON */ const cartIcon = ` `; const optionsIcon = ` `; /* ==================================== CREATE PRODUCT CARD ==================================== */ function createProductCard(product) { const name = decode(product.name); const prices = product.prices || {}; const current = Number(prices.price); const regular = Number( prices.regular_price ); const validPrice = prices.price !== null && prices.price !== undefined && prices.price !== "" && Number.isFinite(current); const hasRange = prices.price_range && prices.price_range.min_amount !== prices.price_range.max_amount; let discount = 0; if ( validPrice && !hasRange && product.type !== "variable" && product.on_sale && regular > current && regular > 0 && current >= 0 ) { discount = Math.round( ((regular - current) / regular) * 100 ); } const card = document.createElement("div"); card.className = "atc-card"; /* PRODUCT IMAGE AREA */ const imageLink = document.createElement("a"); imageLink.className = "atc-image"; imageLink.href = product.permalink || "/shop/"; imageLink.setAttribute( "aria-label", name ); /* STOCK AND SALE BADGES */ if (product.is_in_stock === false) { const soldout = document.createElement("span"); soldout.className = "atc-soldout"; soldout.textContent = "SOLD OUT"; imageLink.appendChild(soldout); } else if (discount > 0) { const sale = document.createElement("span"); sale.className = "atc-sale"; sale.textContent = "SAVE " + discount + "%"; imageLink.appendChild(sale); } /* IMAGE FALLBACK */ function showPlaceholder() { const placeholder = document.createElement("div"); placeholder.className = "atc-placeholder"; placeholder.textContent = "No Image Available"; imageLink.appendChild(placeholder); } if ( product.images && product.images.length > 0 && product.images[0].src ) { const img = document.createElement("img"); img.alt = decode( product.images[0].alt || name ); img.loading = "lazy"; img.decoding = "async"; if (product.images[0].srcset) { img.srcset = product.images[0].srcset; img.sizes = "(max-width: 767px) 50vw, " + "(max-width: 1100px) 33vw, 25vw"; } img.addEventListener( "error", function () { img.remove(); showPlaceholder(); }, { once: true } ); img.src = product.images[0].src; imageLink.appendChild(img); } else { showPlaceholder(); } card.appendChild(imageLink); /* PRODUCT INFORMATION */ const info = document.createElement("div"); info.className = "atc-info"; /* PRODUCT TITLE */ const title = document.createElement("a"); title.className = "atc-product-title"; title.href = product.permalink || "/shop/"; title.textContent = name; title.title = name; info.appendChild(title); /* PRODUCT PRICE */ const priceRow = document.createElement("div"); priceRow.className = "atc-price"; const priceCurrent = document.createElement("span"); priceCurrent.className = "atc-price-current"; if (validPrice) { if (hasRange) { priceCurrent.textContent = formatPrice( prices.price_range.min_amount, prices ) + " – " + formatPrice( prices.price_range.max_amount, prices ); } else { priceCurrent.textContent = formatPrice(current, prices); } } else { priceCurrent.textContent = "View Product"; } priceRow.appendChild(priceCurrent); /* ORIGINAL PRICE */ if (discount > 0) { const oldPrice = document.createElement("span"); oldPrice.className = "atc-price-old"; oldPrice.textContent = formatPrice(regular, prices); priceRow.appendChild(oldPrice); } info.appendChild(priceRow); /* ================================= ADD TO CART / SELECT OPTIONS ================================= */ const productForm = document.createElement("div"); productForm.className = "atc-product-form"; if (product.is_in_stock === false) { const button = document.createElement("button"); button.type = "button"; button.className = "atc-add-btn"; button.disabled = true; button.textContent = "Sold Out"; productForm.appendChild(button); } else if ( product.type === "simple" && product.is_purchasable === true ) { const button = document.createElement("a"); button.className = "atc-add-btn"; const addToCartURL = new URL( "/", window.location.origin ); addToCartURL.searchParams.set( "add-to-cart", product.id ); addToCartURL.searchParams.set( "quantity", "1" ); button.href = addToCartURL.toString(); button.innerHTML = cartIcon + "Add to Cart"; button.setAttribute( "aria-label", "Add " + name + " to cart" ); productForm.appendChild(button); } else { const button = document.createElement("a"); button.className = "atc-add-btn"; button.href = product.permalink || "/shop/"; button.innerHTML = optionsIcon + ( product.type === "variable" ? "Choose Options" : "View Product" ); productForm.appendChild(button); } info.appendChild(productForm); card.appendChild(info); return card; } /* ==================================== LOAD FEATURED PRODUCTS ==================================== */ async function loadProducts(section) { if (section.dataset.atcLoaded === "true") { return; } section.dataset.atcLoaded = "true"; const grid = section.querySelector( ".atc-grid" ); const viewAll = section.querySelector( ".atc-view-all" ); const categoryID = Number( section.dataset.categoryId || 0 ); const limit = Math.min( 100, Math.max( 1, Number(section.dataset.productLimit) || 16 ) ); const params = { per_page: limit, orderby: "date", order: "desc" }; /* OPTIONAL CATEGORY FILTER */ if (categoryID > 0) { params.category = categoryID; try { const category = await getJSON( "products/categories/" + categoryID ); if (category.permalink) { viewAll.href = category.permalink; } } catch (error) { console.warn( "Category link unavailable." ); } } /* FETCH PRODUCTS */ try { const products = await getJSON( "products", params ); if ( !Array.isArray(products) || products.length === 0 ) { const message = document.createElement("div"); message.className = "atc-status"; message.textContent = "No products available at the moment."; grid.replaceChildren(message); return; } const fragment = document.createDocumentFragment(); products.forEach(function (product) { fragment.appendChild( createProductCard(product) ); }); grid.replaceChildren(fragment); } catch (error) { const message = document.createElement("div"); message.className = "atc-status"; message.textContent = "Unable to load products. Please refresh the page."; grid.replaceChildren(message); console.warn( "AddToCart Featured Products:", error.message ); } finally { grid.setAttribute( "aria-busy", "false" ); } } /* INITIALIZE SECTION */ function initFeaturedProducts() { document.querySelectorAll( ".atc-featured" ).forEach(loadProducts); } if (document.readyState === "loading") { document.addEventListener( "DOMContentLoaded", initFeaturedProducts ); } else { initFeaturedProducts(); } })();
WHY SHOP WITH US

More Choice. More Convenience.

— Products to Explore Across our growing catalog
12 Specialist Collections Find exactly what you need
FREE US Standard Shipping On eligible orders
30 Day Return Window For eligible products
(function () { /* WOOCOMMERCE REST API ROOT */ const apiLink = document.querySelector( 'link[rel="https://api.w.org/"]' ); const apiRoot = apiLink ? apiLink.href : window.location.origin + "/wp-json/"; /* BUILD API URL */ function apiURL(route, params = {}) { const url = new URL( apiRoot, window.location.origin ); if (url.searchParams.has("rest_route")) { url.searchParams.set( "rest_route", "/wc/store/v1/" + route ); } else { url.pathname = url.pathname.replace(/\/+$/, "") + "/wc/store/v1/" + route; } Object.entries(params).forEach( ([key, value]) => { url.searchParams.set(key, value); } ); return url.toString(); } /* FETCH TOTAL PRODUCTS */ async function loadProductCount(section) { if (section.dataset.atcLoaded === "true") { return; } section.dataset.atcLoaded = "true"; const counter = section.querySelector( ".atc-total-products" ); if (!counter) return; const categoryID = Number( section.dataset.categoryId || 0 ); const params = { per_page: 1 }; /* OPTIONAL CATEGORY FILTER */ if (categoryID > 0) { params.category = categoryID; } try { const response = await fetch( apiURL("products", params), { credentials: "same-origin" } ); if (!response.ok) { throw new Error( "WooCommerce API unavailable" ); } /* READ EXACT TOTAL PRODUCT COUNT */ const totalHeader = response.headers.get( "X-WP-Total" ); if (totalHeader === null) { throw new Error( "Product count header unavailable" ); } const total = Number(totalHeader); if ( !Number.isInteger(total) || total < 0 ) { throw new Error( "Invalid product count" ); } /* AUTOMATIC NUMBER FORMATTING */ counter.textContent = total.toLocaleString("en-US"); } catch (error) { /* SAFE FALLBACK */ counter.textContent = "—"; console.warn( "AddToCart Stats:", error.message ); } } /* INITIALIZE SECTION */ function initStats() { document.querySelectorAll( ".atc-stats" ).forEach(loadProductCount); } if (document.readyState === "loading") { document.addEventListener( "DOMContentLoaded", initStats ); } else { initStats(); } })();
Customer Favourites

Best-Selling Mowers & Tractors

Loading Mowers & Tractors...
(function () { /* WOOCOMMERCE API ROOT */ const apiLink = document.querySelector( 'link[rel="https://api.w.org/"]' ); const apiRoot = apiLink ? apiLink.href : window.location.origin + "/wp-json/"; /* BUILD API URL */ function apiURL(route, params = {}) { const url = new URL( apiRoot, window.location.origin ); if (url.searchParams.has("rest_route")) { url.searchParams.set( "rest_route", "/wc/store/v1/" + route ); } else { url.pathname = url.pathname.replace(/\/+$/, "") + "/wc/store/v1/" + route; } Object.entries(params).forEach( ([key, value]) => { url.searchParams.set(key, value); } ); return url.toString(); } /* FETCH WOOCOMMERCE DATA */ async function getJSON(route, params = {}) { const response = await fetch( apiURL(route, params), { credentials: "same-origin" } ); if (!response.ok) { throw new Error( "WooCommerce API unavailable" ); } return response.json(); } /* DECODE PRODUCT TITLE */ function decode(value) { const textarea = document.createElement("textarea"); textarea.innerHTML = value || ""; return textarea.value; } /* ==================================== AUTOMATIC PRICE FORMATTING ==================================== */ function formatPrice(amount, prices) { if ( amount === null || amount === undefined || amount === "" ) { return ""; } const decimals = Number( prices.currency_minor_unit ?? 2 ); const value = Number(amount) / Math.pow(10, decimals); if (!Number.isFinite(value)) { return ""; } const parts = value .toFixed(decimals) .split("."); parts[0] = parts[0].replace( /\B(?=(\d{3})+(?!\d))/g, prices.currency_thousand_separator ?? "," ); return decode( prices.currency_prefix ?? prices.currency_symbol ?? "" ) + parts.join( prices.currency_decimal_separator ?? "." ) + decode( prices.currency_suffix || "" ); } /* ==================================== FIND WOOCOMMERCE CATEGORY ==================================== */ async function findCategory(id, slug) { /* FIRST PRIORITY: CATEGORY ID */ if (id > 0) { return getJSON( "products/categories/" + id ); } /* SECOND PRIORITY: CATEGORY SLUG */ let page = 1; while (page item.slug === slug ); if (category) { return category; } if (categories.length currentAmount && currentAmount >= 0 ) { const old = document.createElement("span"); old.className = "old"; old.textContent = formatPrice( regularAmount, prices ); priceRow.appendChild(old); } info.appendChild(priceRow); card.appendChild(info); return card; } /* ==================================== LOAD BEST SELLING PRODUCTS ==================================== */ async function loadBestSellers(section) { if (section.dataset.atcLoaded === "true") { return; } section.dataset.atcLoaded = "true"; const grid = section.querySelector( ".grid" ); const viewAll = section.querySelector( ".btn" ); const categoryID = Number( section.dataset.categoryId || 0 ); const categorySlug = section.dataset.categorySlug || "mowers-tractors"; const limit = Math.min( 100, Math.max( 1, Number(section.dataset.productLimit) || 4 ) ); function showMessage(text) { const message = document.createElement("div"); message.className = "status"; message.textContent = text; grid.replaceChildren(message); } try { /* FIND CATEGORY */ const category = await findCategory( categoryID, categorySlug ); if (!category || !category.id) { showMessage( "Mowers & Tractors collection not found." ); return; } /* UPDATE CATEGORY LINK */ if (category.permalink) { viewAll.href = category.permalink; } else { viewAll.href = "/product-category/" + encodeURIComponent(category.slug) + "/"; } /* LOAD BEST SELLING PRODUCTS */ const products = await getJSON( "products", { category: category.id, per_page: limit, orderby: "popularity", order: "desc", stock_status: "instock" } ); if ( !Array.isArray(products) || products.length === 0 ) { showMessage( "No products available at the moment." ); return; } const fragment = document.createDocumentFragment(); products.forEach(function (product) { fragment.appendChild( createCard(product) ); }); grid.replaceChildren(fragment); } catch (error) { showMessage( "Unable to load products. Please refresh the page." ); console.warn( "AddToCart Best Sellers:", error.message ); } finally { grid.setAttribute( "aria-busy", "false" ); } } /* INITIALIZE SECTION */ function initBestSellers() { document.querySelectorAll( ".atc-best" ).forEach(loadBestSellers); } if (document.readyState === "loading") { document.addEventListener( "DOMContentLoaded", initBestSellers ); } else { initBestSellers(); } })();
NEED HELP?

Frequently Asked Questions

Everything you need to know about shopping with AddToCart.

How can I contact customer support?

You can contact our customer support team by emailing support@addtocart.store . Our support team is available Monday to Friday, 9:00 AM to 5:00 PM Alaska Time (AKST/AKDT). For further assistance, please visit our Contact Us page.

What is your return and refund policy?

AddToCart offers a 30-day return window for eligible products. We provide free return shipping for eligible returns and do not charge restocking fees. Approved refunds are processed within 7 business days after receiving and inspecting the returned product. Please review our Return and Refund Policy for complete eligibility requirements.

How long does shipping take?

We offer Free Standard Shipping within the United States. Orders are processed within 1–2 business days, followed by a shipping transit time of 4–6 business days. The total estimated delivery time is 5–8 business days (Monday to Friday). Our daily order cut-off time is 5:00 PM Alaska Time. For more information, please visit our Shipping Policy .