${function() {
const variantData = data.variant || {"id":"23e6a13d-9bae-48f7-a5af-c6534b405aca","product_id":"46df72a0-90f2-4da2-9c6a-acda7f43d3ed","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K544769685896818688","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cce0e1e2f44dfc6e6d8bfc943955e2a5.png","path":"cce0e1e2f44dfc6e6d8bfc943955e2a5.png","width":600,"height":800,"alt":"Women's Christmas Dogs Graphic Snowy Print Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/womens-christmas-dogs-graphic-snowy-print-casual-sweatshirt?variant=23e6a13d-9bae-48f7-a5af-c6534b405aca","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":271};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Blue
${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":"23e6a13d-9bae-48f7-a5af-c6534b405aca","product_id":"46df72a0-90f2-4da2-9c6a-acda7f43d3ed","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K544769685896818688","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cce0e1e2f44dfc6e6d8bfc943955e2a5.png","path":"cce0e1e2f44dfc6e6d8bfc943955e2a5.png","width":600,"height":800,"alt":"Women's Christmas Dogs Graphic Snowy Print Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/womens-christmas-dogs-graphic-snowy-print-casual-sweatshirt?variant=23e6a13d-9bae-48f7-a5af-c6534b405aca","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":271};
return `
`
}()}