${function() {
const variantData = data.variant || {"id":"491d3211-6092-4229-933f-66cfce2a3b25","product_id":"46160b9e-e23f-48fc-8ddc-bf86dd313777","title":"Yellow-S","weight_unit":"kg","inventory_quantity":999,"sku":"K550618695134326784","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b22d04a8ecf194357dabe71a9fb0bc7e.png","path":"b22d04a8ecf194357dabe71a9fb0bc7e.png","width":600,"height":800,"alt":"Women's Vintage Floral Tree Moon Art Painting Print Hoodie","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":true,"url":"\/products\/womens-vintage-floral-tree-moon-art-painting-print-hoodie?variant=491d3211-6092-4229-933f-66cfce2a3b25","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"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
: Yellow
${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":"491d3211-6092-4229-933f-66cfce2a3b25","product_id":"46160b9e-e23f-48fc-8ddc-bf86dd313777","title":"Yellow-S","weight_unit":"kg","inventory_quantity":999,"sku":"K550618695134326784","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b22d04a8ecf194357dabe71a9fb0bc7e.png","path":"b22d04a8ecf194357dabe71a9fb0bc7e.png","width":600,"height":800,"alt":"Women's Vintage Floral Tree Moon Art Painting Print Hoodie","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":true,"url":"\/products\/womens-vintage-floral-tree-moon-art-painting-print-hoodie?variant=491d3211-6092-4229-933f-66cfce2a3b25","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
`
}()}