${function() {
const variantData = data.variant || {"id":"5ce24b69-bccd-41b1-8231-2f3f930ec6e0","product_id":"f298dbda-949d-4845-b434-de15cefbfd13","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558557664600735744","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/97ec69906b790401ca74183267adf842.jpeg","path":"97ec69906b790401ca74183267adf842.jpeg","width":1200,"height":1600,"alt":"Women's Black Cat And White Cat Print Casual Sweatshirt","aspect_ratio":0.75},"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-black-cat-and-white-cat-print-casual-sweatshirt?variant=5ce24b69-bccd-41b1-8231-2f3f930ec6e0","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":1};
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":"5ce24b69-bccd-41b1-8231-2f3f930ec6e0","product_id":"f298dbda-949d-4845-b434-de15cefbfd13","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558557664600735744","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/97ec69906b790401ca74183267adf842.jpeg","path":"97ec69906b790401ca74183267adf842.jpeg","width":1200,"height":1600,"alt":"Women's Black Cat And White Cat Print Casual Sweatshirt","aspect_ratio":0.75},"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-black-cat-and-white-cat-print-casual-sweatshirt?variant=5ce24b69-bccd-41b1-8231-2f3f930ec6e0","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":1};
return `
`
}()}