${function() {
const variantData = data.variant || {"id":"19d311c6-5359-401c-9779-a30d72bad624","product_id":"e9bb5da5-a8b4-45c4-bc84-99405eb71409","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K547694774649167872","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9cab236a55a2947ba0bd556c33513b60.jpeg","path":"9cab236a55a2947ba0bd556c33513b60.jpeg","width":675,"height":900,"alt":"Women's Merry Christmas Halloween Skull Funny Hoodie","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/womens-merry-christmas-halloween-skull-funny-hoodie?variant=19d311c6-5359-401c-9779-a30d72bad624","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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
: 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":"19d311c6-5359-401c-9779-a30d72bad624","product_id":"e9bb5da5-a8b4-45c4-bc84-99405eb71409","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K547694774649167872","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9cab236a55a2947ba0bd556c33513b60.jpeg","path":"9cab236a55a2947ba0bd556c33513b60.jpeg","width":675,"height":900,"alt":"Women's Merry Christmas Halloween Skull Funny Hoodie","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/womens-merry-christmas-halloween-skull-funny-hoodie?variant=19d311c6-5359-401c-9779-a30d72bad624","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
`
}()}