${function() {
const variantData = data.variant || {"id":"72d6e506-7330-4e7e-be0b-6f7f9ef15b75","product_id":"1f87af1d-cc63-417b-9417-477f60bff147","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K565813332719349760","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/614980a4b7e0dcd2c7ebe1647a598f42.jpeg","path":"614980a4b7e0dcd2c7ebe1647a598f42.jpeg","width":675,"height":900,"alt":"Women's Leave A Little Sparkle Wherever You Go Inspirational Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"23.99","price":"23.99","retail_price":"23.99","available":true,"url":"\/products\/womens-leave-a-little-sparkle-wherever-you-go-inspirational-sweatshirt?variant=72d6e506-7330-4e7e-be0b-6f7f9ef15b75","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"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
: White
${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":"72d6e506-7330-4e7e-be0b-6f7f9ef15b75","product_id":"1f87af1d-cc63-417b-9417-477f60bff147","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K565813332719349760","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/614980a4b7e0dcd2c7ebe1647a598f42.jpeg","path":"614980a4b7e0dcd2c7ebe1647a598f42.jpeg","width":675,"height":900,"alt":"Women's Leave A Little Sparkle Wherever You Go Inspirational Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"23.99","price":"23.99","retail_price":"23.99","available":true,"url":"\/products\/womens-leave-a-little-sparkle-wherever-you-go-inspirational-sweatshirt?variant=72d6e506-7330-4e7e-be0b-6f7f9ef15b75","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}