${function() {
const variantData = data.variant || {"id":"c8279d15-4790-47f9-8efb-59d8feb3c559","product_id":"0f3e1b0f-e61b-407a-a1e4-b4a5d55e62eb","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K559631357410791424","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4591c2711b3ab5e7a2038da15430ecb1.jpeg","path":"4591c2711b3ab5e7a2038da15430ecb1.jpeg","width":600,"height":800,"alt":"Women's Colorblock Love Letter Black Dog Print Casual Hoodie","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"46.99","price":"26.99","retail_price":"46.99","available":true,"url":"\/products\/womens-colorblock-love-letter-black-dog-print-casual-hoodie-4130?variant=c8279d15-4790-47f9-8efb-59d8feb3c559","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Black
${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":"c8279d15-4790-47f9-8efb-59d8feb3c559","product_id":"0f3e1b0f-e61b-407a-a1e4-b4a5d55e62eb","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K559631357410791424","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4591c2711b3ab5e7a2038da15430ecb1.jpeg","path":"4591c2711b3ab5e7a2038da15430ecb1.jpeg","width":600,"height":800,"alt":"Women's Colorblock Love Letter Black Dog Print Casual Hoodie","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"46.99","price":"26.99","retail_price":"46.99","available":true,"url":"\/products\/womens-colorblock-love-letter-black-dog-print-casual-hoodie-4130?variant=c8279d15-4790-47f9-8efb-59d8feb3c559","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":1};
return `
`
}()}