${function() {
const variantData = data.variant || {"id":"20cb8cdc-04be-42ed-be36-2fd6dd42ce10","product_id":"e3c34fcb-b3d1-4d66-8d43-dab993c34bc8","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K553509004432523264","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6d7d120e6e51ede2a457f30992607479.png","path":"6d7d120e6e51ede2a457f30992607479.png","width":1200,"height":1600,"alt":"Women's Lovely Fuzzy Dog Pencil Sketch Print 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-lovely-fuzzy-dog-pencil-sketch-print-casual-sweatshirt?variant=20cb8cdc-04be-42ed-be36-2fd6dd42ce10","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":368};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: White
${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":"20cb8cdc-04be-42ed-be36-2fd6dd42ce10","product_id":"e3c34fcb-b3d1-4d66-8d43-dab993c34bc8","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K553509004432523264","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6d7d120e6e51ede2a457f30992607479.png","path":"6d7d120e6e51ede2a457f30992607479.png","width":1200,"height":1600,"alt":"Women's Lovely Fuzzy Dog Pencil Sketch Print 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-lovely-fuzzy-dog-pencil-sketch-print-casual-sweatshirt?variant=20cb8cdc-04be-42ed-be36-2fd6dd42ce10","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":368};
return `
`
}()}