${function() {
const variantData = data.variant || {"id":"24ccd56f-8f1d-4c09-9e98-d97f58d7cfec","product_id":"4d73e27b-950c-4943-96e3-1e9692b2335c","title":"Pink-S","weight_unit":"kg","inventory_quantity":999,"sku":"K546865119309828096","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09eb9af2869356253507c824cb7bdcf4.png","path":"09eb9af2869356253507c824cb7bdcf4.png","width":600,"height":800,"alt":"Women's Frosty Rudolph Give Like Santa Love Like Jesus Print 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-frosty-rudolph-give-like-santa-love-like-jesus-print-sweatshirt?variant=24ccd56f-8f1d-4c09-9e98-d97f58d7cfec","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Pink
${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":"24ccd56f-8f1d-4c09-9e98-d97f58d7cfec","product_id":"4d73e27b-950c-4943-96e3-1e9692b2335c","title":"Pink-S","weight_unit":"kg","inventory_quantity":999,"sku":"K546865119309828096","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09eb9af2869356253507c824cb7bdcf4.png","path":"09eb9af2869356253507c824cb7bdcf4.png","width":600,"height":800,"alt":"Women's Frosty Rudolph Give Like Santa Love Like Jesus Print 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-frosty-rudolph-give-like-santa-love-like-jesus-print-sweatshirt?variant=24ccd56f-8f1d-4c09-9e98-d97f58d7cfec","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
`
}()}