${function() {
const variantData = data.variant || {"id":"cc259844-3507-4ee9-b178-31de3ce17980","product_id":"1129ffac-bf53-4714-8892-fcba5880da9b","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K575268280271478784","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/df564b954d16f193ff18f4b2879baf12.png","path":"df564b954d16f193ff18f4b2879baf12.png","width":500,"height":666,"alt":"Women's Floral Dog Print Casual Long Sleeve Sweatshirt","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"45.99","price":"24.99","retail_price":"45.99","available":true,"url":"\/products\/womens-floral-dog-print-casual-long-sleeve-sweatshirt?variant=cc259844-3507-4ee9-b178-31de3ce17980","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":803};
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":"cc259844-3507-4ee9-b178-31de3ce17980","product_id":"1129ffac-bf53-4714-8892-fcba5880da9b","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K575268280271478784","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/df564b954d16f193ff18f4b2879baf12.png","path":"df564b954d16f193ff18f4b2879baf12.png","width":500,"height":666,"alt":"Women's Floral Dog Print Casual Long Sleeve Sweatshirt","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"45.99","price":"24.99","retail_price":"45.99","available":true,"url":"\/products\/womens-floral-dog-print-casual-long-sleeve-sweatshirt?variant=cc259844-3507-4ee9-b178-31de3ce17980","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":803};
return `
`
}()}