${function() {
const variantData = data.variant || {"id":"68bad75f-0c09-46a8-9ddb-30dc48db0645","product_id":"804f6258-3dc3-491b-84c3-f9aad01717db","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K586117015247872000","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0ac801b568cd11cc4b3141fe0d052933.jpeg","path":"0ac801b568cd11cc4b3141fe0d052933.jpeg","width":673,"height":900,"alt":"Women's Cute Rabbit Alarm Clock Snowy Scene Print Sweatshirt","aspect_ratio":0.7477777777777778},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.29","compare_at_price":"39.99","price":"23.99","retail_price":"39.99","available":true,"url":"\/products\/womens-cute-rabbit-alarm-clock-snowy-scene-print-sweatshirt?variant=68bad75f-0c09-46a8-9ddb-30dc48db0645","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Gray
${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":"68bad75f-0c09-46a8-9ddb-30dc48db0645","product_id":"804f6258-3dc3-491b-84c3-f9aad01717db","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K586117015247872000","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0ac801b568cd11cc4b3141fe0d052933.jpeg","path":"0ac801b568cd11cc4b3141fe0d052933.jpeg","width":673,"height":900,"alt":"Women's Cute Rabbit Alarm Clock Snowy Scene Print Sweatshirt","aspect_ratio":0.7477777777777778},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.29","compare_at_price":"39.99","price":"23.99","retail_price":"39.99","available":true,"url":"\/products\/womens-cute-rabbit-alarm-clock-snowy-scene-print-sweatshirt?variant=68bad75f-0c09-46a8-9ddb-30dc48db0645","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":0};
return `
`
}()}