${function() {
const variantData = data.variant || {"id":"89da436d-9a1f-4081-a027-565373bc23d6","product_id":"ecc5f8df-b200-4713-9de7-d0f83344ab60","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K562105446926503936","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4014e781d49d719ed56d3d977fb05257.png","path":"4014e781d49d719ed56d3d977fb05257.png","width":750,"height":1000,"alt":"Women's Fun Plush Dog Art Comfortable Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.31","compare_at_price":"39.89","price":"23.99","retail_price":"39.89","available":true,"url":"\/products\/womens-fun-plush-dog-art-comfortable-sweatshirt?variant=89da436d-9a1f-4081-a027-565373bc23d6","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":491};
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":"89da436d-9a1f-4081-a027-565373bc23d6","product_id":"ecc5f8df-b200-4713-9de7-d0f83344ab60","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K562105446926503936","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4014e781d49d719ed56d3d977fb05257.png","path":"4014e781d49d719ed56d3d977fb05257.png","width":750,"height":1000,"alt":"Women's Fun Plush Dog Art Comfortable Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.31","compare_at_price":"39.89","price":"23.99","retail_price":"39.89","available":true,"url":"\/products\/womens-fun-plush-dog-art-comfortable-sweatshirt?variant=89da436d-9a1f-4081-a027-565373bc23d6","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":491};
return `
`
}()}