${function() {
const variantData = data.variant || {"id":"5c8d36fb-941a-4c99-9f3d-ad9dc2e06053","product_id":"3629ad56-66d6-422d-b222-44bb519a5762","title":"Colorful-S","weight_unit":"kg","inventory_quantity":999,"sku":"K560753913351237632","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d9b8d5b044f52e3cd7c7709168bc7b06.webp","path":"d9b8d5b044f52e3cd7c7709168bc7b06.webp","width":675,"height":900,"alt":"Women's Colorful Christmas Tree Print V-neck 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-colorful-christmas-tree-print-v-neck-t-shirt?variant=5c8d36fb-941a-4c99-9f3d-ad9dc2e06053","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"S"}],"off_ratio":46,"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
: Colorful
${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":"5c8d36fb-941a-4c99-9f3d-ad9dc2e06053","product_id":"3629ad56-66d6-422d-b222-44bb519a5762","title":"Colorful-S","weight_unit":"kg","inventory_quantity":999,"sku":"K560753913351237632","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d9b8d5b044f52e3cd7c7709168bc7b06.webp","path":"d9b8d5b044f52e3cd7c7709168bc7b06.webp","width":675,"height":900,"alt":"Women's Colorful Christmas Tree Print V-neck 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-colorful-christmas-tree-print-v-neck-t-shirt?variant=5c8d36fb-941a-4c99-9f3d-ad9dc2e06053","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":0};
return `
`
}()}