${function() {
const variantData = data.variant || {"id":"a4cd068b-8cf5-4c0b-afdb-ced51fd4ba32","product_id":"a35fed5e-dee6-4d85-8614-4b535b7342c5","title":"Beige-S","weight_unit":"kg","inventory_quantity":999,"sku":"K568608192283226112","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/66eb6effeda94d761f3d5404f49a1460.jpeg","path":"66eb6effeda94d761f3d5404f49a1460.jpeg","width":1200,"height":1600,"alt":"Women's Sketch Cute Puppy Printed Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"40.99","price":"23.99","retail_price":"40.99","available":true,"url":"\/products\/womens-sketch-cute-puppy-printed-casual-sweatshirt?variant=a4cd068b-8cf5-4c0b-afdb-ced51fd4ba32","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":467};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Beige
${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":"a4cd068b-8cf5-4c0b-afdb-ced51fd4ba32","product_id":"a35fed5e-dee6-4d85-8614-4b535b7342c5","title":"Beige-S","weight_unit":"kg","inventory_quantity":999,"sku":"K568608192283226112","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/66eb6effeda94d761f3d5404f49a1460.jpeg","path":"66eb6effeda94d761f3d5404f49a1460.jpeg","width":1200,"height":1600,"alt":"Women's Sketch Cute Puppy Printed Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"40.99","price":"23.99","retail_price":"40.99","available":true,"url":"\/products\/womens-sketch-cute-puppy-printed-casual-sweatshirt?variant=a4cd068b-8cf5-4c0b-afdb-ced51fd4ba32","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":467};
return `
`
}()}