${function() {
const variantData = data.variant || {"id":"7830a817-73e2-4f97-9173-6c57f68e83cd","product_id":"1f6ca6dd-8c6d-4230-b587-f491f7781f7e","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K559593153347710976","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/69b61f70703318000fbf721c40a412be.png","path":"69b61f70703318000fbf721c40a412be.png","width":560,"height":751,"alt":"Women's Cute Cat Face Pattern Patch Pocket Comfy Tunic Sweatshirt","aspect_ratio":0.7456724367509987},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"41.99","price":"23.99","retail_price":"41.99","available":true,"url":"\/products\/womens-cute-cat-face-pattern-patch-pocket-comfy-tunic-sweatshirt?variant=7830a817-73e2-4f97-9173-6c57f68e83cd","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":563};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Green
${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":"7830a817-73e2-4f97-9173-6c57f68e83cd","product_id":"1f6ca6dd-8c6d-4230-b587-f491f7781f7e","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K559593153347710976","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/69b61f70703318000fbf721c40a412be.png","path":"69b61f70703318000fbf721c40a412be.png","width":560,"height":751,"alt":"Women's Cute Cat Face Pattern Patch Pocket Comfy Tunic Sweatshirt","aspect_ratio":0.7456724367509987},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"41.99","price":"23.99","retail_price":"41.99","available":true,"url":"\/products\/womens-cute-cat-face-pattern-patch-pocket-comfy-tunic-sweatshirt?variant=7830a817-73e2-4f97-9173-6c57f68e83cd","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":563};
return `
`
}()}