document.addEventListener('DOMContentLoaded', function () {
// Get the product images container
var productMedia = document.querySelectorAll('.product-single__media-item');
// Get the variant dropdown or buttons
var variantSelectors = document.querySelectorAll('[name="id"]');
// Function to display the first product image
function showFirstImage() {
if (productMedia.length > 0) {
productMedia.forEach(function (media, index) {
if (index === 0) {
media.style.display = 'block';
} else {
media.style.display = 'none';
}
});
}
}
// Show the first image on page load
showFirstImage();
// Add event listeners to variant selectors
variantSelectors.forEach(function (selector) {
selector.addEventListener('change', function () {
showFirstImage();
});
});
});
document.addEventListener('DOMContentLoaded', function () {
// Get the product images container
var productMedia = document.querySelectorAll('.product-single__media-item');
// Get the variant dropdown or buttons
var variantSelectors = document.querySelectorAll('[name="id"]');
// Function to display the first product image
function showFirstImage() {
if (productMedia.length > 0) {
productMedia.forEach(function (media, index) {
if (index === 0) {
media.style.display = 'block';
} else {
media.style.display = 'none';
}
});
}
}
// Show the first image on page load
showFirstImage();
// Add event listeners to variant selectors
variantSelectors.forEach(function (selector) {
selector.addEventListener('change', function () {
showFirstImage();
});
});
});
document.addEventListener('DOMContentLoaded', function () {
// Get the product images container
var productMedia = document.querySelectorAll('.product-single__media-item');
// Get the variant dropdown or buttons
var variantSelectors = document.querySelectorAll('[name="id"]');
// Function to display the first product image
function showFirstImage() {
if (productMedia.length > 0) {
productMedia.forEach(function (media, index) {
if (index === 0) {
media.style.display = 'block';
} else {
media.style.display = 'none';
}
});
}
}
// Show the first image on page load
showFirstImage();
// Add event listeners to variant selectors
variantSelectors.forEach(function (selector) {
selector.addEventListener('change', function () {
showFirstImage();
});
});
});
document.addEventListener('DOMContentLoaded', function () {
// Get the product images container
var productMedia = document.querySelectorAll('.product-single__media-item');
// Get the variant dropdown or buttons
var variantSelectors = document.querySelectorAll('[name="id"]');
// Function to display the first product image
function showFirstImage() {
if (productMedia.length > 0) {
productMedia.forEach(function (media, index) {
if (index === 0) {
media.style.display = 'block';
} else {
media.style.display = 'none';
}
});
}
}
// Show the first image on page load
showFirstImage();
// Add event listeners to variant selectors
variantSelectors.forEach(function (selector) {
selector.addEventListener('change', function () {
showFirstImage();
});
});
});
document.addEventListener('DOMContentLoaded', function () {
// Get the product images container
var productMedia = document.querySelectorAll('.product-single__media-item');
// Get the variant dropdown or buttons
var variantSelectors = document.querySelectorAll('[name="id"]');
// Function to display the first product image
function showFirstImage() {
if (productMedia.length > 0) {
productMedia.forEach(function (media, index) {
if (index === 0) {
media.style.display = 'block';
} else {
media.style.display = 'none';
}
});
}
}
// Show the first image on page load
showFirstImage();
// Add event listeners to variant selectors
variantSelectors.forEach(function (selector) {
selector.addEventListener('change', function () {
showFirstImage();
});
});
});
document.addEventListener('DOMContentLoaded', function () {
// Get the product images container
var productMedia = document.querySelectorAll('.product-single__media-item');
// Get the variant dropdown or buttons
var variantSelectors = document.querySelectorAll('[name="id"]');
// Function to display the first product image
function showFirstImage() {
if (productMedia.length > 0) {
productMedia.forEach(function (media, index) {
if (index === 0) {
media.style.display = 'block';
} else {
media.style.display = 'none';
}
});
}
}
// Show the first image on page load
showFirstImage();
// Add event listeners to variant selectors
variantSelectors.forEach(function (selector) {
selector.addEventListener('change', function () {
showFirstImage();
});
});
});
document.addEventListener('DOMContentLoaded', function () {
// Get the product images container
var productMedia = document.querySelectorAll('.product-single__media-item');
// Get the variant dropdown or buttons
var variantSelectors = document.querySelectorAll('[name="id"]');
// Function to display the first product image
function showFirstImage() {
if (productMedia.length > 0) {
productMedia.forEach(function (media, index) {
if (index === 0) {
media.style.display = 'block';
} else {
media.style.display = 'none';
}
});
}
}
// Show the first image on page load
showFirstImage();
// Add event listeners to variant selectors
variantSelectors.forEach(function (selector) {
selector.addEventListener('change', function () {
showFirstImage();
});
});
});
document.addEventListener('DOMContentLoaded', function () {
// Get the product images container
var productMedia = document.querySelectorAll('.product-single__media-item');
// Get the variant dropdown or buttons
var variantSelectors = document.querySelectorAll('[name="id"]');
// Function to display the first product image
function showFirstImage() {
if (productMedia.length > 0) {
productMedia.forEach(function (media, index) {
if (index === 0) {
media.style.display = 'block';
} else {
media.style.display = 'none';
}
});
}
}
// Show the first image on page load
showFirstImage();
// Add event listeners to variant selectors
variantSelectors.forEach(function (selector) {
selector.addEventListener('change', function () {
showFirstImage();
});
});
});
document.addEventListener('DOMContentLoaded', function () {
// Get the product images container
var productMedia = document.querySelectorAll('.product-single__media-item');
// Get the variant dropdown or buttons
var variantSelectors = document.querySelectorAll('[name="id"]');
// Function to display the first product image
function showFirstImage() {
if (productMedia.length > 0) {
productMedia.forEach(function (media, index) {
if (index === 0) {
media.style.display = 'block';
} else {
media.style.display = 'none';
}
});
}
}
// Show the first image on page load
showFirstImage();
// Add event listeners to variant selectors
variantSelectors.forEach(function (selector) {
selector.addEventListener('change', function () {
showFirstImage();
});
});
});
document.addEventListener('DOMContentLoaded', function () {
// Get the product images container
var productMedia = document.querySelectorAll('.product-single__media-item');
// Get the variant dropdown or buttons
var variantSelectors = document.querySelectorAll('[name="id"]');
// Function to display the first product image
function showFirstImage() {
if (productMedia.length > 0) {
productMedia.forEach(function (media, index) {
if (index === 0) {
media.style.display = 'block';
} else {
media.style.display = 'none';
}
});
}
}
// Show the first image on page load
showFirstImage();
// Add event listeners to variant selectors
variantSelectors.forEach(function (selector) {
selector.addEventListener('change', function () {
showFirstImage();
});
});
});![Cute Little Dragon Garden Sculptures](//dragoyle.com/cdn/shop/products/AllThreeStatues.jpg?v=1684112897&width=1445)
![See your garden transform with these irresistibly cute little dragon sculptures! Instantly add a touch of mythical charm and an undeniable dose of charm. These friendly little guys are sure to brighten up any outdoor space!](http://dragoyle.com/cdn/shop/files/S78deaf5444d44409864daa804fc215250.jpg?v=1684111125&width=1445)
![See your garden transform with these irresistibly cute little dragon sculptures! Instantly add a touch of mythical charm and an undeniable dose of charm. These friendly little guys are sure to brighten up any outdoor space!](http://dragoyle.com/cdn/shop/products/Sfd4988b2a09d48e98862fab60c0ec803p.jpg?v=1684111122&width=1445)
![See your garden transform with these irresistibly cute little dragon sculptures! Instantly add a touch of mythical charm and an undeniable dose of charm. These friendly little guys are sure to brighten up any outdoor space!](http://dragoyle.com/cdn/shop/files/S03b22e5fad1946198a6709d9eda1dd90a.jpg?v=1684111124&width=1445)
![See your garden transform with these irresistibly cute little dragon sculptures! Instantly add a touch of mythical charm and an undeniable dose of charm. These friendly little guys are sure to brighten up any outdoor space!](http://dragoyle.com/cdn/shop/files/S5a75a1d786e64e1eb9ea496574cb74d8W.jpg?v=1684111127&width=1445)
![See your garden transform with these irresistibly cute little dragon sculptures! Instantly add a touch of mythical charm and an undeniable dose of charm. These friendly little guys are sure to brighten up any outdoor space!](http://dragoyle.com/cdn/shop/files/S21231a4b066247a2b91071d6ccf5bf65z.jpg?v=1684111130&width=1445)
![See your garden transform with these irresistibly cute little dragon sculptures! Instantly add a touch of mythical charm and an undeniable dose of charm. These friendly little guys are sure to brighten up any outdoor space!](http://dragoyle.com/cdn/shop/files/Sfb64518e066845a3b0b68f151d535d10P.jpg?v=1684111134&width=1445)
![See your garden transform with these irresistibly cute little dragon sculptures! Instantly add a touch of mythical charm and an undeniable dose of charm. These friendly little guys are sure to brighten up any outdoor space!](http://dragoyle.com/cdn/shop/files/S05367feb2cf4474e918550194d5a2672a.jpg?v=1684111138&width=1445)
![See your garden transform with these irresistibly cute little dragon sculptures! Instantly add a touch of mythical charm and an undeniable dose of charm. These friendly little guys are sure to brighten up any outdoor space!](http://dragoyle.com/cdn/shop/files/S10b4f68dde93406d8ae4ef62f1d32ce22.jpg?v=1684111141&width=1445)
![See your garden transform with these irresistibly cute little dragon sculptures! Instantly add a touch of mythical charm and an undeniable dose of charm. These friendly little guys are sure to brighten up any outdoor space!](http://dragoyle.com/cdn/shop/files/Sfe51ab8ad1184e448290fcef41db2cde8.jpg?v=1684111144&width=1445)
![Cute Little Dragon Garden Sculptures](http://dragoyle.com/cdn/shop/products/AllThreeStatues.jpg?v=1684112897&width=1445)