Wholesale Waterproof Home Decor Flower Floating Candles
${function() {
const variantData = data.variant || {"id":"c86f93de-989b-4103-9bcf-2bfeab3573ef","product_id":"69929784-ca04-4024-a45d-0900e20c031a","title":"COLORFUL-3 PIECES","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!136103-C1804N2712","barcode":"","position":1,"option1":"COLORFUL","option2":"3 PIECES","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3947765a378982d5b4312c1f04fc4d2.png","path":"e3947765a378982d5b4312c1f04fc4d2.png","width":800,"height":533,"alt":"","aspect_ratio":1.5009380863039399},"wholesale_price":[{"price":0.71,"min_quantity":1}],"weight":"0.01","compare_at_price":"3","price":"0.71","retail_price":"3","available":true,"url":"\/products\/wholesale-waterproof-home-decor-flower-floating-candles?variant=c86f93de-989b-4103-9bcf-2bfeab3573ef","available_quantity":999999999,"options":[{"name":"Color","value":"COLORFUL"},{"name":"Number","value":"3 PIECES"}],"off_ratio":76,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
COLORFUL
${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:
3 PIECES
${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}
`
}()}
Add to cart
$0.71
${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":"c86f93de-989b-4103-9bcf-2bfeab3573ef","product_id":"69929784-ca04-4024-a45d-0900e20c031a","title":"COLORFUL-3 PIECES","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!136103-C1804N2712","barcode":"","position":1,"option1":"COLORFUL","option2":"3 PIECES","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3947765a378982d5b4312c1f04fc4d2.png","path":"e3947765a378982d5b4312c1f04fc4d2.png","width":800,"height":533,"alt":"","aspect_ratio":1.5009380863039399},"wholesale_price":[{"price":0.71,"min_quantity":1}],"weight":"0.01","compare_at_price":"3","price":"0.71","retail_price":"3","available":true,"url":"\/products\/wholesale-waterproof-home-decor-flower-floating-candles?variant=c86f93de-989b-4103-9bcf-2bfeab3573ef","available_quantity":999999999,"options":[{"name":"Color","value":"COLORFUL"},{"name":"Number","value":"3 PIECES"}],"off_ratio":76,"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-!136103-C1804N2712
Weight : 0.01kg
${function(){
const variantData = data.variant || {"id":"c86f93de-989b-4103-9bcf-2bfeab3573ef","product_id":"69929784-ca04-4024-a45d-0900e20c031a","title":"COLORFUL-3 PIECES","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!136103-C1804N2712","barcode":"","position":1,"option1":"COLORFUL","option2":"3 PIECES","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3947765a378982d5b4312c1f04fc4d2.png","path":"e3947765a378982d5b4312c1f04fc4d2.png","width":800,"height":533,"alt":"","aspect_ratio":1.5009380863039399},"wholesale_price":[{"price":0.71,"min_quantity":1}],"weight":"0.01","compare_at_price":"3","price":"0.71","retail_price":"3","available":true,"url":"\/products\/wholesale-waterproof-home-decor-flower-floating-candles?variant=c86f93de-989b-4103-9bcf-2bfeab3573ef","available_quantity":999999999,"options":[{"name":"Color","value":"COLORFUL"},{"name":"Number","value":"3 PIECES"}],"off_ratio":76,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}