${function() {
const variantData = data.variant || {"id":"0b4e9af2-c975-4c01-a347-67191f3df38c","product_id":"94d1a05f-c69c-4b6a-9b10-3696e7ee39cf","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K552761995499311104","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eab8cfd841d79f66139a57e56287c592.png","path":"eab8cfd841d79f66139a57e56287c592.png","width":600,"height":800,"alt":"Women's I'm OK Cute Dogs V Neck Casual Graphic Printed T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"35.99","price":"19.99","retail_price":"35.99","available":true,"url":"\/products\/womens-im-ok-cute-dogs-v-neck-casual-graphic-printed-t-shirt?variant=0b4e9af2-c975-4c01-a347-67191f3df38c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":269};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Black
${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":"0b4e9af2-c975-4c01-a347-67191f3df38c","product_id":"94d1a05f-c69c-4b6a-9b10-3696e7ee39cf","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K552761995499311104","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eab8cfd841d79f66139a57e56287c592.png","path":"eab8cfd841d79f66139a57e56287c592.png","width":600,"height":800,"alt":"Women's I'm OK Cute Dogs V Neck Casual Graphic Printed T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"35.99","price":"19.99","retail_price":"35.99","available":true,"url":"\/products\/womens-im-ok-cute-dogs-v-neck-casual-graphic-printed-t-shirt?variant=0b4e9af2-c975-4c01-a347-67191f3df38c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":269};
return `
`
}()}