${function() {
const variantData = data.variant || {"id":"c3c1d9c5-e60e-4d58-9473-117a17314e2c","product_id":"28eac37f-4c9c-4180-92d3-f93fd80594f5","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K553091269670674432","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3c2c4459c7350390d2de3693d8f85afd.jpeg","path":"3c2c4459c7350390d2de3693d8f85afd.jpeg","width":600,"height":800,"alt":"Women's V Neck Pencil Sketch Dog Art Print Short Sleeve Tees","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"35.99","price":"19.99","retail_price":"35.99","available":true,"url":"\/products\/womens-v-neck-pencil-sketch-dog-art-print-short-sleeve-tees?variant=c3c1d9c5-e60e-4d58-9473-117a17314e2c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":300};
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":"c3c1d9c5-e60e-4d58-9473-117a17314e2c","product_id":"28eac37f-4c9c-4180-92d3-f93fd80594f5","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K553091269670674432","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3c2c4459c7350390d2de3693d8f85afd.jpeg","path":"3c2c4459c7350390d2de3693d8f85afd.jpeg","width":600,"height":800,"alt":"Women's V Neck Pencil Sketch Dog Art Print Short Sleeve Tees","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"35.99","price":"19.99","retail_price":"35.99","available":true,"url":"\/products\/womens-v-neck-pencil-sketch-dog-art-print-short-sleeve-tees?variant=c3c1d9c5-e60e-4d58-9473-117a17314e2c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":300};
return `
`
}()}