${function() {
const variantData = data.variant || {"id":"0ed301e0-62a4-454b-8a93-b280b2c51848","product_id":"6971e9c5-c183-4bc5-b222-6b5ff093c93e","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K579838464624041984","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6be2b1f1825d8ac21e42fef2945162cf.jpeg","path":"6be2b1f1825d8ac21e42fef2945162cf.jpeg","width":730,"height":975,"alt":"Women's Fuzzy Open Front Hooded Long Sleeve Plain Coat","aspect_ratio":0.7487179487179487},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0.46","compare_at_price":"57.99","price":"39.99","retail_price":"57.99","available":true,"url":"\/products\/womens-fuzzy-open-front-hooded-long-sleeve-plain-coat?variant=0ed301e0-62a4-454b-8a93-b280b2c51848","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":31,"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 + '%'
: ` `
)}
`;
}()}
Color
: Gray
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size
: S
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"0ed301e0-62a4-454b-8a93-b280b2c51848","product_id":"6971e9c5-c183-4bc5-b222-6b5ff093c93e","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K579838464624041984","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6be2b1f1825d8ac21e42fef2945162cf.jpeg","path":"6be2b1f1825d8ac21e42fef2945162cf.jpeg","width":730,"height":975,"alt":"Women's Fuzzy Open Front Hooded Long Sleeve Plain Coat","aspect_ratio":0.7487179487179487},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0.46","compare_at_price":"57.99","price":"39.99","retail_price":"57.99","available":true,"url":"\/products\/womens-fuzzy-open-front-hooded-long-sleeve-plain-coat?variant=0ed301e0-62a4-454b-8a93-b280b2c51848","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
`
}()}