${function() {
const variantData = data.variant || {"id":"5e2b17c6-be5a-47f1-abf9-ba07235df645","product_id":"ffc3289c-e489-4f9f-9a66-c0d83f56cb21","title":"Navy Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K556055350698094592","barcode":"","position":1,"option1":"Navy Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d20192e438bff4e116ad20f686889930.jpeg","path":"d20192e438bff4e116ad20f686889930.jpeg","width":750,"height":1000,"alt":"Women's Santa Hat Cat Colorful Light Bulb Necklace Casual T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"36.99","price":"19.99","retail_price":"36.99","available":true,"url":"\/products\/womens-santa-hat-cat-colorful-light-bulb-necklace-casual-t-shirt?variant=5e2b17c6-be5a-47f1-abf9-ba07235df645","available_quantity":999999999,"options":[{"name":"Color","value":"Navy Blue"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":383};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Navy 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}
`
}()}
Size
: S
${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":"5e2b17c6-be5a-47f1-abf9-ba07235df645","product_id":"ffc3289c-e489-4f9f-9a66-c0d83f56cb21","title":"Navy Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K556055350698094592","barcode":"","position":1,"option1":"Navy Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d20192e438bff4e116ad20f686889930.jpeg","path":"d20192e438bff4e116ad20f686889930.jpeg","width":750,"height":1000,"alt":"Women's Santa Hat Cat Colorful Light Bulb Necklace Casual T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"36.99","price":"19.99","retail_price":"36.99","available":true,"url":"\/products\/womens-santa-hat-cat-colorful-light-bulb-necklace-casual-t-shirt?variant=5e2b17c6-be5a-47f1-abf9-ba07235df645","available_quantity":999999999,"options":[{"name":"Color","value":"Navy Blue"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":383};
return `
`
}()}