8LEDs Solar Powered Under Ground Colorful Lamps Outdoor Waterproof Garden Landscape Lighting for Yard Deck Lawn Patio Pathway
${function() {
const variantData = data.variant || {"id":"8752278f-938b-49cf-b137-5ea07d250c84","product_id":"719c8dda-e4d1-4eda-83bd-7191f4d070c6","title":"Default Title","weight_unit":"lb","inventory_quantity":19,"sku":"1005004514762953-changeable","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/271f5cbce493943f2484f8fc6267e57e.jpeg","path":"271f5cbce493943f2484f8fc6267e57e.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.79,"min_quantity":1}],"weight":"0","compare_at_price":"56.99","price":"43.79","retail_price":"56.99","available":true,"url":"\/products\/8leds-solar-powered-under-ground-colorful-lamps-outdoor-waterproof-garden-landscape-lighting-for-yard-deck-lawn-patio-pathway?variant=8752278f-938b-49cf-b137-5ea07d250c84","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":23,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
(Tax included)
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
(Tax included)
`;
}()}
Title:
Default Title
${function(){
const optName = "Title";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$43.79
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"8752278f-938b-49cf-b137-5ea07d250c84","product_id":"719c8dda-e4d1-4eda-83bd-7191f4d070c6","title":"Default Title","weight_unit":"lb","inventory_quantity":19,"sku":"1005004514762953-changeable","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/271f5cbce493943f2484f8fc6267e57e.jpeg","path":"271f5cbce493943f2484f8fc6267e57e.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.79,"min_quantity":1}],"weight":"0","compare_at_price":"56.99","price":"43.79","retail_price":"56.99","available":true,"url":"\/products\/8leds-solar-powered-under-ground-colorful-lamps-outdoor-waterproof-garden-landscape-lighting-for-yard-deck-lawn-patio-pathway?variant=8752278f-938b-49cf-b137-5ea07d250c84","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":23,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
Sku : 1005004514762953-changeable
${function(){
const variantData = data.variant || {"id":"8752278f-938b-49cf-b137-5ea07d250c84","product_id":"719c8dda-e4d1-4eda-83bd-7191f4d070c6","title":"Default Title","weight_unit":"lb","inventory_quantity":19,"sku":"1005004514762953-changeable","barcode":"","position":1,"option1":"Default Title","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/271f5cbce493943f2484f8fc6267e57e.jpeg","path":"271f5cbce493943f2484f8fc6267e57e.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.79,"min_quantity":1}],"weight":"0","compare_at_price":"56.99","price":"43.79","retail_price":"56.99","available":true,"url":"\/products\/8leds-solar-powered-under-ground-colorful-lamps-outdoor-waterproof-garden-landscape-lighting-for-yard-deck-lawn-patio-pathway?variant=8752278f-938b-49cf-b137-5ea07d250c84","available_quantity":999999999,"options":[{"name":"Title","value":"Default Title"}],"off_ratio":23,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}