Floating Candle In The Shape Of A Yellow Flower Decorative Candles
${function() {
const variantData = data.variant || {"id":"14e7ea24-011b-46e6-a1c8-fd11fd466b49","product_id":"2d99d6e0-3ca5-4abd-a340-45bc3f63729a","title":"YELLOW-1 PCS-4cm*2.5cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135133-C1250N2683S4817","barcode":"","position":1,"option1":"YELLOW","option2":"1 PCS","option3":"4cm*2.5cm","note":"","image":{"src":"\/\/img.staticdj.com\/dc709fd17efb23550143844935b5c62a.jpeg","path":"dc709fd17efb23550143844935b5c62a.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3,"min_quantity":1}],"weight":"0.02","compare_at_price":"6","price":"3","retail_price":"6","available":true,"url":"\/products\/floating-candle-in-the-shape-of-a-yellow-flower-decorative-candles?variant=14e7ea24-011b-46e6-a1c8-fd11fd466b49","available_quantity":999999999,"options":[{"name":"Color","value":"YELLOW"},{"name":"Number","value":"1 PCS"},{"name":"Size","value":"4cm*2.5cm"}],"off_ratio":50,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
YELLOW
${function(){
const optName = "Color";
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}
`
}()}
Number:
1 PCS
${function(){
const optName = "Number";
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:
4cm*2.5cm
${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
$3.00
${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":"14e7ea24-011b-46e6-a1c8-fd11fd466b49","product_id":"2d99d6e0-3ca5-4abd-a340-45bc3f63729a","title":"YELLOW-1 PCS-4cm*2.5cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135133-C1250N2683S4817","barcode":"","position":1,"option1":"YELLOW","option2":"1 PCS","option3":"4cm*2.5cm","note":"","image":{"src":"\/\/img.staticdj.com\/dc709fd17efb23550143844935b5c62a.jpeg","path":"dc709fd17efb23550143844935b5c62a.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3,"min_quantity":1}],"weight":"0.02","compare_at_price":"6","price":"3","retail_price":"6","available":true,"url":"\/products\/floating-candle-in-the-shape-of-a-yellow-flower-decorative-candles?variant=14e7ea24-011b-46e6-a1c8-fd11fd466b49","available_quantity":999999999,"options":[{"name":"Color","value":"YELLOW"},{"name":"Number","value":"1 PCS"},{"name":"Size","value":"4cm*2.5cm"}],"off_ratio":50,"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 : CY-!135133-C1250N2683S4817
Weight : 0.02kg
${function(){
const variantData = data.variant || {"id":"14e7ea24-011b-46e6-a1c8-fd11fd466b49","product_id":"2d99d6e0-3ca5-4abd-a340-45bc3f63729a","title":"YELLOW-1 PCS-4cm*2.5cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135133-C1250N2683S4817","barcode":"","position":1,"option1":"YELLOW","option2":"1 PCS","option3":"4cm*2.5cm","note":"","image":{"src":"\/\/img.staticdj.com\/dc709fd17efb23550143844935b5c62a.jpeg","path":"dc709fd17efb23550143844935b5c62a.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3,"min_quantity":1}],"weight":"0.02","compare_at_price":"6","price":"3","retail_price":"6","available":true,"url":"\/products\/floating-candle-in-the-shape-of-a-yellow-flower-decorative-candles?variant=14e7ea24-011b-46e6-a1c8-fd11fd466b49","available_quantity":999999999,"options":[{"name":"Color","value":"YELLOW"},{"name":"Number","value":"1 PCS"},{"name":"Size","value":"4cm*2.5cm"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}