${function() {
const variantData = data.variant || {"id":"348d3e8d-dfb8-4278-ad1d-e9c6dfddc9f5","product_id":"10489b16-69b4-4c37-b153-c6c71ccb2b54","title":"Red-US 5","weight_unit":"kg","inventory_quantity":998,"sku":"WOMEN-439-Red-5","barcode":"","position":1,"option1":"Red","option2":"US 5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/334e27a8295229b7b455e39209722b88.jpg","path":"334e27a8295229b7b455e39209722b88.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":68.98,"min_quantity":1}],"weight":"0","compare_at_price":"88.98","price":"68.98","retail_price":"88.98","available":true,"url":"\/products\/women-mid-calf-warm-snow-boots?variant=348d3e8d-dfb8-4278-ad1d-e9c6dfddc9f5","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"US 5"}],"off_ratio":22,"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
: Red
${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}
`
}()}
Size
: US 5
${function(){
const optName = "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":"348d3e8d-dfb8-4278-ad1d-e9c6dfddc9f5","product_id":"10489b16-69b4-4c37-b153-c6c71ccb2b54","title":"Red-US 5","weight_unit":"kg","inventory_quantity":998,"sku":"WOMEN-439-Red-5","barcode":"","position":1,"option1":"Red","option2":"US 5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/334e27a8295229b7b455e39209722b88.jpg","path":"334e27a8295229b7b455e39209722b88.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":68.98,"min_quantity":1}],"weight":"0","compare_at_price":"88.98","price":"68.98","retail_price":"88.98","available":true,"url":"\/products\/women-mid-calf-warm-snow-boots?variant=348d3e8d-dfb8-4278-ad1d-e9c6dfddc9f5","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"US 5"}],"off_ratio":22,"flashsale_info":[],"sales":0};
return `
`
}()}