${function() {
const variantData = data.variant || {"id":"46ad7b11-7252-4b27-ab5e-89c9451dc8d2","product_id":"1bd1b79e-4aba-4491-a80d-7c64c81c4699","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K542986808068964352","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09cc226b1a226c20ddaf3c11078d09a6.jpeg","path":"09cc226b1a226c20ddaf3c11078d09a6.jpeg","width":600,"height":800,"alt":"Women's Casual Cute Dogs Pattern All Over Print V Neck T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"35.99","price":"19.99","retail_price":"35.99","available":true,"url":"\/products\/womens-casual-cute-dogs-pattern-all-over-print-v-neck-t-shirt?variant=46ad7b11-7252-4b27-ab5e-89c9451dc8d2","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":367};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: 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":"46ad7b11-7252-4b27-ab5e-89c9451dc8d2","product_id":"1bd1b79e-4aba-4491-a80d-7c64c81c4699","title":"Gray-S","weight_unit":"kg","inventory_quantity":999,"sku":"K542986808068964352","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09cc226b1a226c20ddaf3c11078d09a6.jpeg","path":"09cc226b1a226c20ddaf3c11078d09a6.jpeg","width":600,"height":800,"alt":"Women's Casual Cute Dogs Pattern All Over Print V Neck T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"35.99","price":"19.99","retail_price":"35.99","available":true,"url":"\/products\/womens-casual-cute-dogs-pattern-all-over-print-v-neck-t-shirt?variant=46ad7b11-7252-4b27-ab5e-89c9451dc8d2","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":367};
return `
`
}()}