${function() {
const variantData = data.variant || {"id":"d2a16e0e-43a6-46af-bbba-a03e6ee6735c","product_id":"2cc0129a-2c4e-4851-b157-133ce9b77224","title":"Beige-S","weight_unit":"kg","inventory_quantity":999,"sku":"K557496042061324288","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/742c4472ea6f13785fe127d2d044e9c6.png","path":"742c4472ea6f13785fe127d2d044e9c6.png","width":600,"height":800,"alt":"Women's Star Glasses Cute Sweater Dog Print Zip Up Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"44.99","price":"25.99","retail_price":"44.99","available":true,"url":"\/products\/womens-star-glasses-cute-sweater-dog-print-zip-up-sweatshirt?variant=d2a16e0e-43a6-46af-bbba-a03e6ee6735c","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":358};
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":"d2a16e0e-43a6-46af-bbba-a03e6ee6735c","product_id":"2cc0129a-2c4e-4851-b157-133ce9b77224","title":"Beige-S","weight_unit":"kg","inventory_quantity":999,"sku":"K557496042061324288","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/742c4472ea6f13785fe127d2d044e9c6.png","path":"742c4472ea6f13785fe127d2d044e9c6.png","width":600,"height":800,"alt":"Women's Star Glasses Cute Sweater Dog Print Zip Up Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"44.99","price":"25.99","retail_price":"44.99","available":true,"url":"\/products\/womens-star-glasses-cute-sweater-dog-print-zip-up-sweatshirt?variant=d2a16e0e-43a6-46af-bbba-a03e6ee6735c","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":358};
return `
`
}()}