people are viewing this right now
${function() {
const variantData = data.variant || {"id":"0543e54d-9726-44e6-950b-aa9aa17f4940","product_id":"6fb60ad2-8e05-46b7-8413-faae78810cb3","title":"Black-M(UK8-10)","weight_unit":"lb","inventory_quantity":1000,"sku":"LF10268274HEIM","barcode":"","position":1,"option1":"Black","option2":"M(UK8-10)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62d593857dab425017f2b235c888a4a0.jpeg","path":"62d593857dab425017f2b235c888a4a0.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"46.99","price":"34.99","retail_price":"46.99","available":true,"url":"\/products\/v-neck-polka-dot-dress?variant=0543e54d-9726-44e6-950b-aa9aa17f4940","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M(UK8-10)"}],"off_ratio":26,"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":"0543e54d-9726-44e6-950b-aa9aa17f4940","product_id":"6fb60ad2-8e05-46b7-8413-faae78810cb3","title":"Black-M(UK8-10)","weight_unit":"lb","inventory_quantity":1000,"sku":"LF10268274HEIM","barcode":"","position":1,"option1":"Black","option2":"M(UK8-10)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62d593857dab425017f2b235c888a4a0.jpeg","path":"62d593857dab425017f2b235c888a4a0.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"46.99","price":"34.99","retail_price":"46.99","available":true,"url":"\/products\/v-neck-polka-dot-dress?variant=0543e54d-9726-44e6-950b-aa9aa17f4940","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M(UK8-10)"}],"off_ratio":26,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}