${function() {
const variantData = data.variant || {"id":"15123c5e-2f31-4f51-8390-ecba30816dc4","product_id":"d70fe56e-6e2d-41c1-8a61-c2f15fb27998","title":"1113H-Suede-38","weight_unit":"g","inventory_quantity":995,"sku":"39733242-1113h-suede-38","barcode":"","position":1,"option1":"1113H-Suede","option2":"38","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e5d9f2e7f9d9bb20814f161991daea0.jpeg","path":"4e5d9f2e7f9d9bb20814f161991daea0.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.96,"min_quantity":1}],"weight":"0","compare_at_price":"24.96","price":"24.96","retail_price":"24.96","available":true,"url":"\/products\/women-flats-ballet-shoes-women-flats-office-work-shoes-oversize-boat-shoes-cloth-sweet-loafers-womens-pregnant-flats-shoes?variant=15123c5e-2f31-4f51-8390-ecba30816dc4","available_quantity":995,"options":[{"name":"Color","value":"1113H-Suede"},{"name":"Shoe Size","value":"38"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
The current produc does not participate any Rebate. Switch the participating product to check the design.
(This prompt will not be displayed on the client-side.)
${function() {
const show = rebate.format_rules.length > data.maxShowCount;
return `
${rule}
${function() {
if(!show) return "";
return `
`;
}()}
`;
}()}