people are viewing this right now
${function() {
const variantData = data.variant || {"id":"180e5d1c-11c0-4e6a-8ece-6f26c21937af","product_id":"0fab2f28-dd94-40b7-b2a9-e53ee3ca50b2","title":"Brown-S:Bust37.01\"","weight_unit":"kg","inventory_quantity":1000,"sku":"YP10858_BR_S","barcode":"","position":1,"option1":"Brown","option2":"S:Bust37.01\"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a07a9a14863150e006a3a04b6054938a.jpeg","path":"a07a9a14863150e006a3a04b6054938a.jpeg","width":1015,"height":1350,"alt":"Women's V-neck Long Sleeve Sweater Coat Top","aspect_ratio":0.7518518518518519},"wholesale_price":[{"price":31.32,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.32","retail_price":"0","available":true,"url":"\/products\/women-plus-size-clothing-yp10858?variant=180e5d1c-11c0-4e6a-8ece-6f26c21937af","available_quantity":1000,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S:Bust37.01\""}],"off_ratio":0,"flashsale_info":[],"sales":1};
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":"180e5d1c-11c0-4e6a-8ece-6f26c21937af","product_id":"0fab2f28-dd94-40b7-b2a9-e53ee3ca50b2","title":"Brown-S:Bust37.01\"","weight_unit":"kg","inventory_quantity":1000,"sku":"YP10858_BR_S","barcode":"","position":1,"option1":"Brown","option2":"S:Bust37.01\"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a07a9a14863150e006a3a04b6054938a.jpeg","path":"a07a9a14863150e006a3a04b6054938a.jpeg","width":1015,"height":1350,"alt":"Women's V-neck Long Sleeve Sweater Coat Top","aspect_ratio":0.7518518518518519},"wholesale_price":[{"price":31.32,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.32","retail_price":"0","available":true,"url":"\/products\/women-plus-size-clothing-yp10858?variant=180e5d1c-11c0-4e6a-8ece-6f26c21937af","available_quantity":1000,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S:Bust37.01\""}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}