${function() {
const variantData = data.variant || {"id":"3245cef4-1b86-463e-95fa-fbc1f5e95e9a","product_id":"2349363c-a91b-4871-8af0-106b5317173d","title":"As picture 04-6.5","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"As picture 04","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e5dd9bd2aa904c65c414fb4f8787b957.jpeg","path":"e5dd9bd2aa904c65c414fb4f8787b957.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":67.95,"min_quantity":1}],"weight":"0","compare_at_price":"87.95","price":"67.95","retail_price":"87.95","available":true,"url":"\/products\/high-quality-men-fashion-breathable-leather-casual-shoes?variant=3245cef4-1b86-463e-95fa-fbc1f5e95e9a","available_quantity":999999999,"options":[{"name":"Color","value":"As picture 04"},{"name":"Shoe Size","value":"6.5"}],"off_ratio":23,"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
: As picture 04
${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}
`
}()}
Shoe Size
: 6.5
${function(){
const optName = "Shoe 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":"3245cef4-1b86-463e-95fa-fbc1f5e95e9a","product_id":"2349363c-a91b-4871-8af0-106b5317173d","title":"As picture 04-6.5","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"As picture 04","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e5dd9bd2aa904c65c414fb4f8787b957.jpeg","path":"e5dd9bd2aa904c65c414fb4f8787b957.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":67.95,"min_quantity":1}],"weight":"0","compare_at_price":"87.95","price":"67.95","retail_price":"87.95","available":true,"url":"\/products\/high-quality-men-fashion-breathable-leather-casual-shoes?variant=3245cef4-1b86-463e-95fa-fbc1f5e95e9a","available_quantity":999999999,"options":[{"name":"Color","value":"As picture 04"},{"name":"Shoe Size","value":"6.5"}],"off_ratio":23,"flashsale_info":[],"sales":0};
return `
`
}()}