${function() {
const variantData = data.variant || {"id":"50c0e9e6-a4be-4f2e-bff8-3182b522d691","product_id":"ac8e4186-5bd7-4aad-8aed-e398fbc575f3","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\/b404c799ec4b46bf3e5ede51908d8b78.jpeg","path":"b404c799ec4b46bf3e5ede51908d8b78.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69.98,"min_quantity":1}],"weight":"0","compare_at_price":"89.98","price":"69.98","retail_price":"89.98","available":true,"url":"\/products\/winter-thicken-plush-waterproof-super-warm-snow-boots?variant=50c0e9e6-a4be-4f2e-bff8-3182b522d691","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Shoe Size","value":"6.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
: 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":"50c0e9e6-a4be-4f2e-bff8-3182b522d691","product_id":"ac8e4186-5bd7-4aad-8aed-e398fbc575f3","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\/b404c799ec4b46bf3e5ede51908d8b78.jpeg","path":"b404c799ec4b46bf3e5ede51908d8b78.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69.98,"min_quantity":1}],"weight":"0","compare_at_price":"89.98","price":"69.98","retail_price":"89.98","available":true,"url":"\/products\/winter-thicken-plush-waterproof-super-warm-snow-boots?variant=50c0e9e6-a4be-4f2e-bff8-3182b522d691","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Shoe Size","value":"6.5"}],"off_ratio":22,"flashsale_info":[],"sales":0};
return `
`
}()}