people are viewing this right now
${function() {
const variantData = data.variant || {"id":"fe6fbb37-a780-459c-a7c2-080e0a7e9282","product_id":"f52083dd-7a19-4396-b8ea-dfb73582dda5","title":"Pink-M:Bust45.67\"","weight_unit":"kg","inventory_quantity":1000,"sku":"YP10652_P_M","barcode":"","position":1,"option1":"Pink","option2":"M:Bust45.67\"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5735c4ae3abb0a8c7d82dd7869eae546.jpeg","path":"5735c4ae3abb0a8c7d82dd7869eae546.jpeg","width":1200,"height":1600,"alt":"Women's V-neck Long Sleeve Printed Tops","aspect_ratio":0.75},"wholesale_price":[{"price":30.43,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.43","retail_price":"0","available":true,"url":"\/products\/women-plus-size-clothing-yp10652?variant=fe6fbb37-a780-459c-a7c2-080e0a7e9282","available_quantity":1000,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"M:Bust45.67\""}],"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":"fe6fbb37-a780-459c-a7c2-080e0a7e9282","product_id":"f52083dd-7a19-4396-b8ea-dfb73582dda5","title":"Pink-M:Bust45.67\"","weight_unit":"kg","inventory_quantity":1000,"sku":"YP10652_P_M","barcode":"","position":1,"option1":"Pink","option2":"M:Bust45.67\"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5735c4ae3abb0a8c7d82dd7869eae546.jpeg","path":"5735c4ae3abb0a8c7d82dd7869eae546.jpeg","width":1200,"height":1600,"alt":"Women's V-neck Long Sleeve Printed Tops","aspect_ratio":0.75},"wholesale_price":[{"price":30.43,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.43","retail_price":"0","available":true,"url":"\/products\/women-plus-size-clothing-yp10652?variant=fe6fbb37-a780-459c-a7c2-080e0a7e9282","available_quantity":1000,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"M:Bust45.67\""}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}