${function() {
const variantData = data.variant || {"id":"c31bbd28-9c3f-41cd-86f2-2b664a1709c4","product_id":"a88076bd-f557-46a4-af5e-35e4b8dc45d8","title":"Light Yellow-S","weight_unit":"kg","inventory_quantity":999,"sku":"K546984872955883520","barcode":"","position":1,"option1":"Light Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0c355f69733227fde49fdbe36b523b35.jpeg","path":"0c355f69733227fde49fdbe36b523b35.jpeg","width":760,"height":764,"alt":"Women's Vintage Santa Print V-Neck Long Sleeve T-Shirt","aspect_ratio":0.9947643979057592},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"20.99","price":"20.99","retail_price":"20.99","available":true,"url":"\/products\/womens-vintage-santa-print-v-neck-long-sleeve-t-shirt?variant=c31bbd28-9c3f-41cd-86f2-2b664a1709c4","available_quantity":999999999,"options":[{"name":"Color","value":"Light Yellow"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Light Yellow
${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":"c31bbd28-9c3f-41cd-86f2-2b664a1709c4","product_id":"a88076bd-f557-46a4-af5e-35e4b8dc45d8","title":"Light Yellow-S","weight_unit":"kg","inventory_quantity":999,"sku":"K546984872955883520","barcode":"","position":1,"option1":"Light Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0c355f69733227fde49fdbe36b523b35.jpeg","path":"0c355f69733227fde49fdbe36b523b35.jpeg","width":760,"height":764,"alt":"Women's Vintage Santa Print V-Neck Long Sleeve T-Shirt","aspect_ratio":0.9947643979057592},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"20.99","price":"20.99","retail_price":"20.99","available":true,"url":"\/products\/womens-vintage-santa-print-v-neck-long-sleeve-t-shirt?variant=c31bbd28-9c3f-41cd-86f2-2b664a1709c4","available_quantity":999999999,"options":[{"name":"Color","value":"Light Yellow"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
return `
`
}()}