${function() {
const variantData = data.variant || {"id":"3458c6a6-5f15-4c1c-bb87-fb00dcd14fef","product_id":"4e1a9ad2-7df9-42b1-9b1c-925a23046ea6","title":"Purple-S","weight_unit":"kg","inventory_quantity":999,"sku":"K568355161688850432","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7ae3679a38a1f3d5f066adb5efbbe7e.png","path":"e7ae3679a38a1f3d5f066adb5efbbe7e.png","width":450,"height":600,"alt":"Women's Romanshe The Cute Dog Vintage Round Neck Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"43.99","price":"23.99","retail_price":"43.99","available":true,"url":"\/products\/womens-romanshe-the-cute-dog-vintage-round-neck-casual-sweatshirt-dgjz?variant=3458c6a6-5f15-4c1c-bb87-fb00dcd14fef","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":404};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Purple
${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":"3458c6a6-5f15-4c1c-bb87-fb00dcd14fef","product_id":"4e1a9ad2-7df9-42b1-9b1c-925a23046ea6","title":"Purple-S","weight_unit":"kg","inventory_quantity":999,"sku":"K568355161688850432","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e7ae3679a38a1f3d5f066adb5efbbe7e.png","path":"e7ae3679a38a1f3d5f066adb5efbbe7e.png","width":450,"height":600,"alt":"Women's Romanshe The Cute Dog Vintage Round Neck Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"43.99","price":"23.99","retail_price":"43.99","available":true,"url":"\/products\/womens-romanshe-the-cute-dog-vintage-round-neck-casual-sweatshirt-dgjz?variant=3458c6a6-5f15-4c1c-bb87-fb00dcd14fef","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":404};
return `
`
}()}