${function() {
const variantData = data.variant || {"id":"b678f603-f905-4b30-b497-fcd2bc2c7e51","product_id":"59eb1a8e-ac18-4321-922f-ed20583b3abf","title":"XS-KH168 blue","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"XS","option2":"KH168 blue","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0ebc9690059d2519950c91aca5600d90.jpeg","path":"0ebc9690059d2519950c91aca5600d90.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":76.85,"min_quantity":1}],"weight":"0","compare_at_price":"96.85","price":"76.85","retail_price":"96.85","available":true,"url":"\/products\/mens-vintage-embroidery-military-bomber-pilot-leather-jacket?variant=b678f603-f905-4b30-b497-fcd2bc2c7e51","available_quantity":999999999,"options":[{"name":"Size","value":"XS"},{"name":"Color","value":"KH168 blue"}],"off_ratio":21,"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
: XS
${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
: KH168 blue
${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":"b678f603-f905-4b30-b497-fcd2bc2c7e51","product_id":"59eb1a8e-ac18-4321-922f-ed20583b3abf","title":"XS-KH168 blue","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"XS","option2":"KH168 blue","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0ebc9690059d2519950c91aca5600d90.jpeg","path":"0ebc9690059d2519950c91aca5600d90.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":76.85,"min_quantity":1}],"weight":"0","compare_at_price":"96.85","price":"76.85","retail_price":"96.85","available":true,"url":"\/products\/mens-vintage-embroidery-military-bomber-pilot-leather-jacket?variant=b678f603-f905-4b30-b497-fcd2bc2c7e51","available_quantity":999999999,"options":[{"name":"Size","value":"XS"},{"name":"Color","value":"KH168 blue"}],"off_ratio":21,"flashsale_info":[],"sales":0};
return `
`
}()}