${function() {
const variantData = data.variant || {"id":"0b367097-b536-491a-95d4-4a4c8990ca86","product_id":"5328b3ef-ac87-4e2a-bcf3-5700621c532a","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K585743193921773568","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec2fb9b960c0abb47ded5a46e5fdf602.jpeg","path":"ec2fb9b960c0abb47ded5a46e5fdf602.jpeg","width":498,"height":666,"alt":"Women's St Patrick's Day Four Leaf Clover Print Long Sleeve Top","aspect_ratio":0.7477477477477478},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"40.99","price":"22.99","retail_price":"40.99","available":true,"url":"\/products\/womens-st-patricks-day-four-leaf-clover-print-long-sleeve-top?variant=0b367097-b536-491a-95d4-4a4c8990ca86","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":463};
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":"0b367097-b536-491a-95d4-4a4c8990ca86","product_id":"5328b3ef-ac87-4e2a-bcf3-5700621c532a","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K585743193921773568","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec2fb9b960c0abb47ded5a46e5fdf602.jpeg","path":"ec2fb9b960c0abb47ded5a46e5fdf602.jpeg","width":498,"height":666,"alt":"Women's St Patrick's Day Four Leaf Clover Print Long Sleeve Top","aspect_ratio":0.7477477477477478},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"40.99","price":"22.99","retail_price":"40.99","available":true,"url":"\/products\/womens-st-patricks-day-four-leaf-clover-print-long-sleeve-top?variant=0b367097-b536-491a-95d4-4a4c8990ca86","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":463};
return `
`
}()}