${function() {
const variantData = data.variant || {"id":"1a5f3081-0260-4400-b7ca-adb6b9b22d2b","product_id":"921bf693-2fc1-4b0c-832e-0af2d89b9099","title":"L-Snow color","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"L","option2":"Snow color","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5b717b213fdd27fc38d89ec9e2910f2.jpeg","path":"c5b717b213fdd27fc38d89ec9e2910f2.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":79.98,"min_quantity":1}],"weight":"0","compare_at_price":"99.98","price":"79.98","retail_price":"99.98","available":true,"url":"\/products\/mens-snow-mountain-pattern-thick-warm-winter-hooded-jacket?variant=1a5f3081-0260-4400-b7ca-adb6b9b22d2b","available_quantity":999999999,"options":[{"name":"Size","value":"L"},{"name":"Color","value":"Snow color"}],"off_ratio":20,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Size
: L
${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}
`
}()}
Color
: Snow color
${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}
`
}()}
Add to cart
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"1a5f3081-0260-4400-b7ca-adb6b9b22d2b","product_id":"921bf693-2fc1-4b0c-832e-0af2d89b9099","title":"L-Snow color","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"L","option2":"Snow color","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5b717b213fdd27fc38d89ec9e2910f2.jpeg","path":"c5b717b213fdd27fc38d89ec9e2910f2.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":79.98,"min_quantity":1}],"weight":"0","compare_at_price":"99.98","price":"79.98","retail_price":"99.98","available":true,"url":"\/products\/mens-snow-mountain-pattern-thick-warm-winter-hooded-jacket?variant=1a5f3081-0260-4400-b7ca-adb6b9b22d2b","available_quantity":999999999,"options":[{"name":"Size","value":"L"},{"name":"Color","value":"Snow color"}],"off_ratio":20,"flashsale_info":[],"sales":1};
return `
`
}()}