${function() {
const variantData = data.variant || {"id":"9991bc97-92a9-4f98-b91e-4da0e85b310f","product_id":"e5b56250-a9c9-426e-bc04-46cd130b741a","title":"orange-6","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"orange","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40af821880a49a54c72e8cdcbf6c925e.png","path":"40af821880a49a54c72e8cdcbf6c925e.png","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.97,"min_quantity":1}],"weight":"0","compare_at_price":"69.97","price":"59.97","retail_price":"69.97","available":true,"url":"\/products\/fashion-2020-canvas-business-genuine-leather-shoes?variant=9991bc97-92a9-4f98-b91e-4da0e85b310f","available_quantity":999999999,"options":[{"name":"Color","value":"orange"},{"name":"Shoe Size","value":"6"}],"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
: orange
${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
${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":"9991bc97-92a9-4f98-b91e-4da0e85b310f","product_id":"e5b56250-a9c9-426e-bc04-46cd130b741a","title":"orange-6","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"orange","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40af821880a49a54c72e8cdcbf6c925e.png","path":"40af821880a49a54c72e8cdcbf6c925e.png","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.97,"min_quantity":1}],"weight":"0","compare_at_price":"69.97","price":"59.97","retail_price":"69.97","available":true,"url":"\/products\/fashion-2020-canvas-business-genuine-leather-shoes?variant=9991bc97-92a9-4f98-b91e-4da0e85b310f","available_quantity":999999999,"options":[{"name":"Color","value":"orange"},{"name":"Shoe Size","value":"6"}],"off_ratio":14,"flashsale_info":[],"sales":0};
return `
`
}()}