${function() {
const variantData = data.variant || {"id":"75486b6b-6104-42e9-bb94-075302f53c96","product_id":"8fc8da14-580d-4345-b700-4dddca9a867b","title":"brown-6.5","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"brown","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/60c32fbb7a4364cc92f2458a49ffec16.jpeg","path":"60c32fbb7a4364cc92f2458a49ffec16.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":58.97,"min_quantity":1}],"weight":"0","compare_at_price":"68.97","price":"58.97","retail_price":"68.97","available":true,"url":"\/products\/2020-italian-high-quality-casual-dress-shoes?variant=75486b6b-6104-42e9-bb94-075302f53c96","available_quantity":999999999,"options":[{"name":"Color","value":"brown"},{"name":"Shoe Size","value":"6.5"}],"off_ratio":14,"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
: brown
${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":"75486b6b-6104-42e9-bb94-075302f53c96","product_id":"8fc8da14-580d-4345-b700-4dddca9a867b","title":"brown-6.5","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"brown","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/60c32fbb7a4364cc92f2458a49ffec16.jpeg","path":"60c32fbb7a4364cc92f2458a49ffec16.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":58.97,"min_quantity":1}],"weight":"0","compare_at_price":"68.97","price":"58.97","retail_price":"68.97","available":true,"url":"\/products\/2020-italian-high-quality-casual-dress-shoes?variant=75486b6b-6104-42e9-bb94-075302f53c96","available_quantity":999999999,"options":[{"name":"Color","value":"brown"},{"name":"Shoe Size","value":"6.5"}],"off_ratio":14,"flashsale_info":[],"sales":0};
return `
`
}()}