${function() {
const variantData = data.variant || {"id":"52c821b5-15b3-4b8c-b099-1530d9deaa8b","product_id":"3772e608-86e0-4b3d-8923-791150c676c3","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K581425850211667968","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a174df3a78c40a53c762efa832f63b0f.jpeg","path":"a174df3a78c40a53c762efa832f63b0f.jpeg","width":564,"height":752,"alt":"Women's Clown Cat Stripe Print Long Sleeve Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"44.99","price":"24.99","retail_price":"44.99","available":true,"url":"\/products\/womens-clown-cat-stripe-print-long-sleeve-sweatshirt?variant=52c821b5-15b3-4b8c-b099-1530d9deaa8b","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":385};
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":"52c821b5-15b3-4b8c-b099-1530d9deaa8b","product_id":"3772e608-86e0-4b3d-8923-791150c676c3","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K581425850211667968","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a174df3a78c40a53c762efa832f63b0f.jpeg","path":"a174df3a78c40a53c762efa832f63b0f.jpeg","width":564,"height":752,"alt":"Women's Clown Cat Stripe Print Long Sleeve Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"44.99","price":"24.99","retail_price":"44.99","available":true,"url":"\/products\/womens-clown-cat-stripe-print-long-sleeve-sweatshirt?variant=52c821b5-15b3-4b8c-b099-1530d9deaa8b","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":385};
return `
`
}()}