${function() {
const variantData = data.variant || {"id":"1477bc6f-c10a-494b-97bf-42933f8929e9","product_id":"e8f415cd-38aa-4d17-9eab-1ca1184f9be4","title":"White-S","weight_unit":"kg","inventory_quantity":998,"sku":"K562105780002144256","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1de0b71c0d6949bf419c8191b9268483.png","path":"1de0b71c0d6949bf419c8191b9268483.png","width":400,"height":533,"alt":"Women's Lovely Dog Casual Printed Sweatshirt","aspect_ratio":0.7504690431519699},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"45.99","price":"25.99","retail_price":"45.99","available":true,"url":"\/products\/womens-lovely-dog-casual-printed-sweatshirt?variant=1477bc6f-c10a-494b-97bf-42933f8929e9","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":397};
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":"1477bc6f-c10a-494b-97bf-42933f8929e9","product_id":"e8f415cd-38aa-4d17-9eab-1ca1184f9be4","title":"White-S","weight_unit":"kg","inventory_quantity":998,"sku":"K562105780002144256","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1de0b71c0d6949bf419c8191b9268483.png","path":"1de0b71c0d6949bf419c8191b9268483.png","width":400,"height":533,"alt":"Women's Lovely Dog Casual Printed Sweatshirt","aspect_ratio":0.7504690431519699},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"45.99","price":"25.99","retail_price":"45.99","available":true,"url":"\/products\/womens-lovely-dog-casual-printed-sweatshirt?variant=1477bc6f-c10a-494b-97bf-42933f8929e9","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":397};
return `
`
}()}