${function() {
const variantData = data.variant || {"id":"2536e7ca-a298-49bd-b00b-aea03c646cbc","product_id":"5f90afb8-1950-4e14-a749-09407da6605b","title":"Beige-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558575193134972928","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b92d199bdf4b66556ae06d2c78fb7265.jpeg","path":"b92d199bdf4b66556ae06d2c78fb7265.jpeg","width":564,"height":752,"alt":"Women's Realistic Dog Graphic Print Raglan Sleeve Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"40.99","price":"23.99","retail_price":"40.99","available":true,"url":"\/products\/womens-realistic-dog-graphic-print-raglan-sleeve-sweatshirt?variant=2536e7ca-a298-49bd-b00b-aea03c646cbc","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":301};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Beige
${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":"2536e7ca-a298-49bd-b00b-aea03c646cbc","product_id":"5f90afb8-1950-4e14-a749-09407da6605b","title":"Beige-S","weight_unit":"kg","inventory_quantity":999,"sku":"K558575193134972928","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b92d199bdf4b66556ae06d2c78fb7265.jpeg","path":"b92d199bdf4b66556ae06d2c78fb7265.jpeg","width":564,"height":752,"alt":"Women's Realistic Dog Graphic Print Raglan Sleeve Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"40.99","price":"23.99","retail_price":"40.99","available":true,"url":"\/products\/womens-realistic-dog-graphic-print-raglan-sleeve-sweatshirt?variant=2536e7ca-a298-49bd-b00b-aea03c646cbc","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":301};
return `
`
}()}