people are viewing this right now
${function() {
const variantData = data.variant || {"id":"788546c0-f467-446c-9980-377a93be96be","product_id":"fed8eed2-40b7-41b9-811c-a0e96afd3eb5","title":"gold-S","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"gold","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/340154222ab6c5456649d1b7e8f34bae.jpg","path":"340154222ab6c5456649d1b7e8f34bae.jpg","width":667,"height":1000,"alt":"","aspect_ratio":0.667},"wholesale_price":[{"price":79.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"79.99","retail_price":"0","available":true,"url":"\/products\/halter-neck-sequined-mesh-sleeveless-puff-ball-gown?variant=788546c0-f467-446c-9980-377a93be96be","available_quantity":999999999,"options":[{"name":"color","value":"gold"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"788546c0-f467-446c-9980-377a93be96be","product_id":"fed8eed2-40b7-41b9-811c-a0e96afd3eb5","title":"gold-S","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"gold","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/340154222ab6c5456649d1b7e8f34bae.jpg","path":"340154222ab6c5456649d1b7e8f34bae.jpg","width":667,"height":1000,"alt":"","aspect_ratio":0.667},"wholesale_price":[{"price":79.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"79.99","retail_price":"0","available":true,"url":"\/products\/halter-neck-sequined-mesh-sleeveless-puff-ball-gown?variant=788546c0-f467-446c-9980-377a93be96be","available_quantity":999999999,"options":[{"name":"color","value":"gold"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}