When you run the site in subdomain, you need to declare that subdomain in Site setting->Setup->Subdomains and add your domain there

Read more in the docs

×

Shopping Cart

{{ item.name }}

{{ item.quantity }} x {{ item.attributes.friendly_price }}

Cart is empty! Subtotal: {{ totalPriceFormat }}


// Set a threshold size in bytes (e.g., 500KB) const SIZE_LIMIT = 500 * 1024; // Placeholder image URL const PLACEHOLDER_URL = 'https://via.placeholder.com/150'; // Function to check and handle large images function handleLargeImages() { const images = document.querySelectorAll('img'); images.forEach(img => { const src = img.src; fetch(src) .then(res => res.blob()) .then(blob => { if (blob.size > SIZE_LIMIT) { // Option 1: Hide the image // img.style.display = 'none'; // Option 2: Replace with a placeholder image img.src = PLACEHOLDER_URL; } }) .catch(error => console.error('Image fetch error:', error)); }); } // Handle large images when the window loads window.addEventListener('load', handleLargeImages);