${function() {
const variantData = data.variant || {"id":"fd54a7a3-80b7-4661-bb1a-28ddffd12347","product_id":"588c2e56-1870-4d91-b0f3-c4d0e63ea2e8","title":"L-Green Camouflage","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"L","option2":"Green Camouflage","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/abb4a34661c2ad11e61e67f2a29d220c.jpeg","path":"abb4a34661c2ad11e61e67f2a29d220c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":85.99,"min_quantity":1}],"weight":"0","compare_at_price":"105.99","price":"85.99","retail_price":"105.99","available":true,"url":"\/products\/mens-winter-thick-warm-camouflage-hooded-jacket?variant=fd54a7a3-80b7-4661-bb1a-28ddffd12347","available_quantity":999999999,"options":[{"name":"Size","value":"L"},{"name":"Color","value":"Green Camouflage"}],"off_ratio":19,"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 + '%'
: ` `
)}
`;
}()}
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
: Green Camouflage
${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":"fd54a7a3-80b7-4661-bb1a-28ddffd12347","product_id":"588c2e56-1870-4d91-b0f3-c4d0e63ea2e8","title":"L-Green Camouflage","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"L","option2":"Green Camouflage","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/abb4a34661c2ad11e61e67f2a29d220c.jpeg","path":"abb4a34661c2ad11e61e67f2a29d220c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":85.99,"min_quantity":1}],"weight":"0","compare_at_price":"105.99","price":"85.99","retail_price":"105.99","available":true,"url":"\/products\/mens-winter-thick-warm-camouflage-hooded-jacket?variant=fd54a7a3-80b7-4661-bb1a-28ddffd12347","available_quantity":999999999,"options":[{"name":"Size","value":"L"},{"name":"Color","value":"Green Camouflage"}],"off_ratio":19,"flashsale_info":[],"sales":0};
return `
`
}()}