${function() {
const variantData = data.variant || {"id":"6af1c18f-3014-4ede-adff-3276a63b2903","product_id":"efb5a8fd-1dc6-46f4-b629-8bc7cc63d556","title":"Purple-S","weight_unit":"kg","inventory_quantity":999,"sku":"K544463906245156864","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aef7b668befc6541c3b9838f0d56cb24.jpeg","path":"aef7b668befc6541c3b9838f0d56cb24.jpeg","width":600,"height":800,"alt":"Multicolor Plaid Knitted Boat Neck Long Sleeve Sweater","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0.33","compare_at_price":"28.99","price":"28.99","retail_price":"28.99","available":true,"url":"\/products\/multicolor-plaid-knitted-boat-neck-long-sleeve-sweater?variant=6af1c18f-3014-4ede-adff-3276a63b2903","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Purple
${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":"6af1c18f-3014-4ede-adff-3276a63b2903","product_id":"efb5a8fd-1dc6-46f4-b629-8bc7cc63d556","title":"Purple-S","weight_unit":"kg","inventory_quantity":999,"sku":"K544463906245156864","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aef7b668befc6541c3b9838f0d56cb24.jpeg","path":"aef7b668befc6541c3b9838f0d56cb24.jpeg","width":600,"height":800,"alt":"Multicolor Plaid Knitted Boat Neck Long Sleeve Sweater","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0.33","compare_at_price":"28.99","price":"28.99","retail_price":"28.99","available":true,"url":"\/products\/multicolor-plaid-knitted-boat-neck-long-sleeve-sweater?variant=6af1c18f-3014-4ede-adff-3276a63b2903","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
return `
`
}()}