${function() {
const variantData = data.variant || {"id":"68712d5e-2113-46c5-a42c-f3c9dd027a53","product_id":"24644d8e-2045-48b0-b7a5-eea08cb63fe3","title":"Print 1-S","weight_unit":"kg","inventory_quantity":999,"sku":"K542663885524889600","barcode":"","position":1,"option1":"Print 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dc95c0628e27d665969fadd0d60bb0a1.webp","path":"dc95c0628e27d665969fadd0d60bb0a1.webp","width":713,"height":951,"alt":"Vintage Sewing Machine Sunflower Floral Print T-Shirt","aspect_ratio":0.7497371188222923},"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\/vintage-sewing-machine-sunflower-floral-print-t-shirt?variant=68712d5e-2113-46c5-a42c-f3c9dd027a53","available_quantity":999999999,"options":[{"name":"Color","value":"Print 1"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":6};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Print 1
${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":"68712d5e-2113-46c5-a42c-f3c9dd027a53","product_id":"24644d8e-2045-48b0-b7a5-eea08cb63fe3","title":"Print 1-S","weight_unit":"kg","inventory_quantity":999,"sku":"K542663885524889600","barcode":"","position":1,"option1":"Print 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dc95c0628e27d665969fadd0d60bb0a1.webp","path":"dc95c0628e27d665969fadd0d60bb0a1.webp","width":713,"height":951,"alt":"Vintage Sewing Machine Sunflower Floral Print T-Shirt","aspect_ratio":0.7497371188222923},"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\/vintage-sewing-machine-sunflower-floral-print-t-shirt?variant=68712d5e-2113-46c5-a42c-f3c9dd027a53","available_quantity":999999999,"options":[{"name":"Color","value":"Print 1"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":6};
return `
`
}()}