${function() {
const variantData = data.variant || {"id":"a50d27e9-a7bf-434d-8301-99a7e594de56","product_id":"abb32e0b-5ae7-4e8a-8a00-53a3ce4fdd6a","title":"same_as_photo-s","weight_unit":"kg","inventory_quantity":999,"sku":"4746918","barcode":"4746918","position":2,"option1":"same_as_photo","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/30937f258132574bb50303bce67fa55c.jpeg","path":"30937f258132574bb50303bce67fa55c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"0","price":"31.99","retail_price":"0","available":true,"url":"\/products\/fashion-elegant-high-waisted-pocket-holiday-maxi-dress?variant=a50d27e9-a7bf-434d-8301-99a7e594de56","available_quantity":999999999,"options":[{"name":"Color","value":"same_as_photo"},{"name":"Size","value":"s"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.
Sku : 4746918
Weight : 0.25kg
Barcode : 4746918
${function(){
const variantData = data.variant || {"id":"a50d27e9-a7bf-434d-8301-99a7e594de56","product_id":"abb32e0b-5ae7-4e8a-8a00-53a3ce4fdd6a","title":"same_as_photo-s","weight_unit":"kg","inventory_quantity":999,"sku":"4746918","barcode":"4746918","position":2,"option1":"same_as_photo","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/30937f258132574bb50303bce67fa55c.jpeg","path":"30937f258132574bb50303bce67fa55c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"0","price":"31.99","retail_price":"0","available":true,"url":"\/products\/fashion-elegant-high-waisted-pocket-holiday-maxi-dress?variant=a50d27e9-a7bf-434d-8301-99a7e594de56","available_quantity":999999999,"options":[{"name":"Color","value":"same_as_photo"},{"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}
`
}()}