${function() {
const variantData = data.variant || {"id":"f2d61e08-c432-40ca-8afd-0cefef7ba56f","product_id":"766de2f2-d692-4b3e-8f5e-f90993d6cbcf","title":"Blue-One size","weight_unit":"kg","inventory_quantity":999,"sku":"K559580511665373184","barcode":"","position":1,"option1":"Blue","option2":"One size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0b08df3f620952c864a511de9d3c828e.jpeg","path":"0b08df3f620952c864a511de9d3c828e.jpeg","width":600,"height":800,"alt":"Women's Retro Paws Pattern Print Buckle Hood Triangle Scarf","aspect_ratio":0.75},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"30.99","price":"17.99","retail_price":"30.99","available":true,"url":"\/products\/womens-retro-paws-pattern-print-buckle-hood-triangle-scarf?variant=f2d61e08-c432-40ca-8afd-0cefef7ba56f","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Length","value":"One size"}],"off_ratio":42,"flashsale_info":[],"sales":11};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Blue
${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}
`
}()}
Length
: One size
${function(){
const optName = "Length";
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":"f2d61e08-c432-40ca-8afd-0cefef7ba56f","product_id":"766de2f2-d692-4b3e-8f5e-f90993d6cbcf","title":"Blue-One size","weight_unit":"kg","inventory_quantity":999,"sku":"K559580511665373184","barcode":"","position":1,"option1":"Blue","option2":"One size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0b08df3f620952c864a511de9d3c828e.jpeg","path":"0b08df3f620952c864a511de9d3c828e.jpeg","width":600,"height":800,"alt":"Women's Retro Paws Pattern Print Buckle Hood Triangle Scarf","aspect_ratio":0.75},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"30.99","price":"17.99","retail_price":"30.99","available":true,"url":"\/products\/womens-retro-paws-pattern-print-buckle-hood-triangle-scarf?variant=f2d61e08-c432-40ca-8afd-0cefef7ba56f","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Length","value":"One size"}],"off_ratio":42,"flashsale_info":[],"sales":11};
return `
`
}()}