${function() {
const variantData = data.variant || {"id":"bf8b142d-0f43-4808-bcb3-ef204e81dc8e","product_id":"e3e48e26-5ad3-4aee-b484-0f49e6c8bf6d","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K552728494361939968","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/614ec65c04ead49970857432e11e0b53.jpeg","path":"614ec65c04ead49970857432e11e0b53.jpeg","width":600,"height":800,"alt":"Women's Cat Paw Butterfly Patchwork Print Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"39.99","price":"22.99","retail_price":"39.99","available":true,"url":"\/products\/womens-cat-paw-butterfly-patchwork-print-casual-sweatshirt?variant=bf8b142d-0f43-4808-bcb3-ef204e81dc8e","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":299};
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":"bf8b142d-0f43-4808-bcb3-ef204e81dc8e","product_id":"e3e48e26-5ad3-4aee-b484-0f49e6c8bf6d","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K552728494361939968","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/614ec65c04ead49970857432e11e0b53.jpeg","path":"614ec65c04ead49970857432e11e0b53.jpeg","width":600,"height":800,"alt":"Women's Cat Paw Butterfly Patchwork Print Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"39.99","price":"22.99","retail_price":"39.99","available":true,"url":"\/products\/womens-cat-paw-butterfly-patchwork-print-casual-sweatshirt?variant=bf8b142d-0f43-4808-bcb3-ef204e81dc8e","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":299};
return `
`
}()}