${function() {
const variantData = data.variant || {"id":"9e655ecb-96bd-491a-bb5e-668e2817c599","product_id":"6f60832d-3e46-456b-996e-2b5fece9fb37","title":"Brown-One Size","weight_unit":"kg","inventory_quantity":999,"sku":"K567909974721712128","barcode":"","position":1,"option1":"Brown","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/085279f3bfeb6a795c5da86f3d65d261.jpeg","path":"085279f3bfeb6a795c5da86f3d65d261.jpeg","width":600,"height":800,"alt":"Women's Christmas Elk Deer Pattern Knitted Cute Crew Socks","aspect_ratio":0.75},"wholesale_price":[{"price":5.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"9.99","price":"5.99","retail_price":"9.99","available":true,"url":"\/products\/womens-christmas-elk-deer-pattern-knitted-cute-crew-socks?variant=9e655ecb-96bd-491a-bb5e-668e2817c599","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"One Size"}],"off_ratio":40,"flashsale_info":[],"sales":186};
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}
`
}()}
Size
: One Size
${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":"9e655ecb-96bd-491a-bb5e-668e2817c599","product_id":"6f60832d-3e46-456b-996e-2b5fece9fb37","title":"Brown-One Size","weight_unit":"kg","inventory_quantity":999,"sku":"K567909974721712128","barcode":"","position":1,"option1":"Brown","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/085279f3bfeb6a795c5da86f3d65d261.jpeg","path":"085279f3bfeb6a795c5da86f3d65d261.jpeg","width":600,"height":800,"alt":"Women's Christmas Elk Deer Pattern Knitted Cute Crew Socks","aspect_ratio":0.75},"wholesale_price":[{"price":5.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"9.99","price":"5.99","retail_price":"9.99","available":true,"url":"\/products\/womens-christmas-elk-deer-pattern-knitted-cute-crew-socks?variant=9e655ecb-96bd-491a-bb5e-668e2817c599","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"One Size"}],"off_ratio":40,"flashsale_info":[],"sales":186};
return `
`
}()}