${function() {
const variantData = data.variant || {"id":"3bbd3747-326f-4736-89a8-12da2fc37d1f","product_id":"37d204ed-f51e-4da8-9c77-9d54e99482fa","title":"Blue-6.5","weight_unit":"kg","inventory_quantity":991,"sku":"MS-1231-Blue-6.5","barcode":"","position":1,"option1":"Blue","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a07da66bd52ce52a0ca2bc99228ec3e.jpeg","path":"9a07da66bd52ce52a0ca2bc99228ec3e.jpeg","width":3680,"height":3680,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":85.99,"min_quantity":1}],"weight":"0","compare_at_price":"129.99","price":"85.99","retail_price":"129.99","available":true,"url":"\/products\/mens-air-cushion-sneakers-a7az-x7im-obgi-9a5b-xxch?variant=3bbd3747-326f-4736-89a8-12da2fc37d1f","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"US Size","value":"6.5"}],"off_ratio":34,"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
: 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}
`
}()}
Us Size
: 6.5
${function(){
const optName = "US 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":"3bbd3747-326f-4736-89a8-12da2fc37d1f","product_id":"37d204ed-f51e-4da8-9c77-9d54e99482fa","title":"Blue-6.5","weight_unit":"kg","inventory_quantity":991,"sku":"MS-1231-Blue-6.5","barcode":"","position":1,"option1":"Blue","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a07da66bd52ce52a0ca2bc99228ec3e.jpeg","path":"9a07da66bd52ce52a0ca2bc99228ec3e.jpeg","width":3680,"height":3680,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":85.99,"min_quantity":1}],"weight":"0","compare_at_price":"129.99","price":"85.99","retail_price":"129.99","available":true,"url":"\/products\/mens-air-cushion-sneakers-a7az-x7im-obgi-9a5b-xxch?variant=3bbd3747-326f-4736-89a8-12da2fc37d1f","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"US Size","value":"6.5"}],"off_ratio":34,"flashsale_info":[],"sales":0};
return `
`
}()}