${function() {
const variantData = data.variant || {"id":"d13696e0-a0f4-4f92-a21e-56c6a19ba22b","product_id":"afa74d98-27b9-42ec-940a-75c3b9b11910","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K552393106949791744","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3fd55ff1eb0da07d4f8320120e707489.png","path":"3fd55ff1eb0da07d4f8320120e707489.png","width":600,"height":800,"alt":"Women's Glitter Dog Paw Printed Waffle Hooded Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"59.99","price":"33.99","retail_price":"59.99","available":true,"url":"\/products\/womens-rhinestone-dog-paw-printed-waffle-hooded-sweatshirt?variant=d13696e0-a0f4-4f92-a21e-56c6a19ba22b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":451};
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":"d13696e0-a0f4-4f92-a21e-56c6a19ba22b","product_id":"afa74d98-27b9-42ec-940a-75c3b9b11910","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K552393106949791744","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3fd55ff1eb0da07d4f8320120e707489.png","path":"3fd55ff1eb0da07d4f8320120e707489.png","width":600,"height":800,"alt":"Women's Glitter Dog Paw Printed Waffle Hooded Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"59.99","price":"33.99","retail_price":"59.99","available":true,"url":"\/products\/womens-rhinestone-dog-paw-printed-waffle-hooded-sweatshirt?variant=d13696e0-a0f4-4f92-a21e-56c6a19ba22b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":451};
return `
`
}()}