${function() {
const variantData = data.variant || {"id":"33a74463-4eaa-4ade-8fc1-91ffb6ad48c7","product_id":"ae0ac0b0-65fc-47da-8c81-11de418d52c1","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K565096166246346752","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9f168e9851da1882f7ff56bf15694dbd.jpeg","path":"9f168e9851da1882f7ff56bf15694dbd.jpeg","width":675,"height":900,"alt":"Women's Cute Dog Merry Christmas Print V Neck Long Sleeve T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"35.69","price":"20.99","retail_price":"35.69","available":true,"url":"\/products\/womens-cute-dog-merry-christmas-print-v-neck-long-sleeve-t-shirt?variant=33a74463-4eaa-4ade-8fc1-91ffb6ad48c7","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":368};
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":"33a74463-4eaa-4ade-8fc1-91ffb6ad48c7","product_id":"ae0ac0b0-65fc-47da-8c81-11de418d52c1","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K565096166246346752","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9f168e9851da1882f7ff56bf15694dbd.jpeg","path":"9f168e9851da1882f7ff56bf15694dbd.jpeg","width":675,"height":900,"alt":"Women's Cute Dog Merry Christmas Print V Neck Long Sleeve T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"35.69","price":"20.99","retail_price":"35.69","available":true,"url":"\/products\/womens-cute-dog-merry-christmas-print-v-neck-long-sleeve-t-shirt?variant=33a74463-4eaa-4ade-8fc1-91ffb6ad48c7","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":368};
return `
`
}()}