🔥 49% OFF Solar Rattan Lights
${function() {
const variantData = data.variant || {"id":"4c17ce4c-001e-4150-b44e-32c33dcedbdb","product_id":"7a93d96d-ae67-47db-99a7-4d0994f6f16f","title":"Devil's ivy-2M(6.6Ft)","weight_unit":"kg","inventory_quantity":1000,"sku":"LI1282341-2","barcode":"","position":1,"option1":"Devil's ivy","option2":"2M(6.6Ft)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3a3f67088022f7c0567ebee4f8ddb71d.jpeg","path":"3a3f67088022f7c0567ebee4f8ddb71d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.31","price":"29.99","retail_price":"38.31","available":true,"url":"\/products\/solar-rattan-lights9be65fba-12ce-4e95-85cd-de68354a2c57055a50f4-948f-4c4f-b0e7-61781255d1ea?variant=4c17ce4c-001e-4150-b44e-32c33dcedbdb","available_quantity":999999999,"options":[{"name":"Style","value":"Devil's ivy"},{"name":"Size","value":"2M(6.6Ft)"}],"off_ratio":22,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Style:
Devil's ivy
${function(){
const optName = "Style";
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}
`
}()}
Size:
2M(6.6Ft)
${function(){
const optName = "Size";
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
$29.99
${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":"4c17ce4c-001e-4150-b44e-32c33dcedbdb","product_id":"7a93d96d-ae67-47db-99a7-4d0994f6f16f","title":"Devil's ivy-2M(6.6Ft)","weight_unit":"kg","inventory_quantity":1000,"sku":"LI1282341-2","barcode":"","position":1,"option1":"Devil's ivy","option2":"2M(6.6Ft)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3a3f67088022f7c0567ebee4f8ddb71d.jpeg","path":"3a3f67088022f7c0567ebee4f8ddb71d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.31","price":"29.99","retail_price":"38.31","available":true,"url":"\/products\/solar-rattan-lights9be65fba-12ce-4e95-85cd-de68354a2c57055a50f4-948f-4c4f-b0e7-61781255d1ea?variant=4c17ce4c-001e-4150-b44e-32c33dcedbdb","available_quantity":999999999,"options":[{"name":"Style","value":"Devil's ivy"},{"name":"Size","value":"2M(6.6Ft)"}],"off_ratio":22,"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.
${function(){
const variantData = data.variant || {"id":"4c17ce4c-001e-4150-b44e-32c33dcedbdb","product_id":"7a93d96d-ae67-47db-99a7-4d0994f6f16f","title":"Devil's ivy-2M(6.6Ft)","weight_unit":"kg","inventory_quantity":1000,"sku":"LI1282341-2","barcode":"","position":1,"option1":"Devil's ivy","option2":"2M(6.6Ft)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3a3f67088022f7c0567ebee4f8ddb71d.jpeg","path":"3a3f67088022f7c0567ebee4f8ddb71d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.31","price":"29.99","retail_price":"38.31","available":true,"url":"\/products\/solar-rattan-lights9be65fba-12ce-4e95-85cd-de68354a2c57055a50f4-948f-4c4f-b0e7-61781255d1ea?variant=4c17ce4c-001e-4150-b44e-32c33dcedbdb","available_quantity":999999999,"options":[{"name":"Style","value":"Devil's ivy"},{"name":"Size","value":"2M(6.6Ft)"}],"off_ratio":22,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}