${function() {
const variantData = data.variant || {"id":"a20d4265-94c0-4b54-912e-2257eea7733c","product_id":"793aa6dd-b0f0-4803-9881-7561fa73b0ae","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K547667042078965760","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fe4697c409e1e3f6f27dc12c5a68d3e4.png","path":"fe4697c409e1e3f6f27dc12c5a68d3e4.png","width":600,"height":800,"alt":"Women's Casual Cute Cat Party Round Neck Graphic Print Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"37.99","price":"22.99","retail_price":"37.99","available":true,"url":"\/products\/womens-casual-cute-cat-party-round-neck-graphic-print-sweatshirt?variant=a20d4265-94c0-4b54-912e-2257eea7733c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":355};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Black
${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":"a20d4265-94c0-4b54-912e-2257eea7733c","product_id":"793aa6dd-b0f0-4803-9881-7561fa73b0ae","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K547667042078965760","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fe4697c409e1e3f6f27dc12c5a68d3e4.png","path":"fe4697c409e1e3f6f27dc12c5a68d3e4.png","width":600,"height":800,"alt":"Women's Casual Cute Cat Party Round Neck Graphic Print Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"37.99","price":"22.99","retail_price":"37.99","available":true,"url":"\/products\/womens-casual-cute-cat-party-round-neck-graphic-print-sweatshirt?variant=a20d4265-94c0-4b54-912e-2257eea7733c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":355};
return `
`
}()}