${function() {
const variantData = data.variant || {"id":"5aacee7d-008e-4b08-b938-d90487cdc113","product_id":"d7933e64-4eec-4a84-b4ca-726397c928c3","title":"Light Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K567585373492428800","barcode":"","position":1,"option1":"Light Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/606b5848accfa69a888a128f2a9e79b1.jpeg","path":"606b5848accfa69a888a128f2a9e79b1.jpeg","width":1200,"height":1600,"alt":"Women's Dachshund Dog Watercolor Drawing Print Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"42.99","price":"23.99","retail_price":"42.99","available":true,"url":"\/products\/womens-dachshund-dog-watercolor-drawing-print-sweatshirt?variant=5aacee7d-008e-4b08-b938-d90487cdc113","available_quantity":999999999,"options":[{"name":"Color","value":"Light Gray"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":305};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Light Gray
${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":"5aacee7d-008e-4b08-b938-d90487cdc113","product_id":"d7933e64-4eec-4a84-b4ca-726397c928c3","title":"Light Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K567585373492428800","barcode":"","position":1,"option1":"Light Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/606b5848accfa69a888a128f2a9e79b1.jpeg","path":"606b5848accfa69a888a128f2a9e79b1.jpeg","width":1200,"height":1600,"alt":"Women's Dachshund Dog Watercolor Drawing Print Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"42.99","price":"23.99","retail_price":"42.99","available":true,"url":"\/products\/womens-dachshund-dog-watercolor-drawing-print-sweatshirt?variant=5aacee7d-008e-4b08-b938-d90487cdc113","available_quantity":999999999,"options":[{"name":"Color","value":"Light Gray"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":305};
return `
`
}()}