${function() {
const variantData = data.variant || {"id":"5cc7a8a4-7022-4a77-9177-f945161b9e98","product_id":"793b834a-90c1-4d53-9c2d-a86be9936eee","title":"Grey-S","weight_unit":"kg","inventory_quantity":999,"sku":"K574845606842064896","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac1d5b378b7b863abc7b19fd0a5eddf7.jpeg","path":"ac1d5b378b7b863abc7b19fd0a5eddf7.jpeg","width":675,"height":900,"alt":"Women's Heart Dog Paws Print Casual Hoodie","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"47.99","price":"27.99","retail_price":"47.99","available":true,"url":"\/products\/womens-heart-dog-paws-print-casual-hoodie?variant=5cc7a8a4-7022-4a77-9177-f945161b9e98","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":650};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Grey
${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":"5cc7a8a4-7022-4a77-9177-f945161b9e98","product_id":"793b834a-90c1-4d53-9c2d-a86be9936eee","title":"Grey-S","weight_unit":"kg","inventory_quantity":999,"sku":"K574845606842064896","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac1d5b378b7b863abc7b19fd0a5eddf7.jpeg","path":"ac1d5b378b7b863abc7b19fd0a5eddf7.jpeg","width":675,"height":900,"alt":"Women's Heart Dog Paws Print Casual Hoodie","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"47.99","price":"27.99","retail_price":"47.99","available":true,"url":"\/products\/womens-heart-dog-paws-print-casual-hoodie?variant=5cc7a8a4-7022-4a77-9177-f945161b9e98","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":650};
return `
`
}()}