${function() {
const variantData = data.variant || {"id":"7843f25b-d362-49b4-8b06-cbe84c3ba63e","product_id":"a85b1766-7e14-4fce-8115-86e425d36ce0","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"GH20240218-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fdbf3e5cc76104fab41205778ce2ef55.jpeg","path":"fdbf3e5cc76104fab41205778ce2ef55.jpeg","width":750,"height":938,"alt":"","aspect_ratio":0.7995735607675906},"wholesale_price":[{"price":49.78,"min_quantity":1}],"weight":"0","compare_at_price":"99.56","price":"49.78","retail_price":"99.56","available":true,"url":"\/products\/fashion-round-neck-long-sleeve-fake-two-piece-asymmetric-dress484dea6f-5ebb-4813-9fc9-4e83f128b43e?variant=7843f25b-d362-49b4-8b06-cbe84c3ba63e","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":50,"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.
${function(){
const variantData = data.variant || {"id":"7843f25b-d362-49b4-8b06-cbe84c3ba63e","product_id":"a85b1766-7e14-4fce-8115-86e425d36ce0","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"GH20240218-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fdbf3e5cc76104fab41205778ce2ef55.jpeg","path":"fdbf3e5cc76104fab41205778ce2ef55.jpeg","width":750,"height":938,"alt":"","aspect_ratio":0.7995735607675906},"wholesale_price":[{"price":49.78,"min_quantity":1}],"weight":"0","compare_at_price":"99.56","price":"49.78","retail_price":"99.56","available":true,"url":"\/products\/fashion-round-neck-long-sleeve-fake-two-piece-asymmetric-dress484dea6f-5ebb-4813-9fc9-4e83f128b43e?variant=7843f25b-d362-49b4-8b06-cbe84c3ba63e","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}