${function() {
const variantData = data.variant || {"id":"9ba6366f-8b2a-4e43-8e06-64dc1d0fa623","product_id":"735fd013-4a7c-4979-a5da-a5df912739e3","title":"Orange-S","weight_unit":"kg","inventory_quantity":999,"sku":"K546949221424820224","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c7de368c3b3b72a337730cf72405714.png","path":"7c7de368c3b3b72a337730cf72405714.png","width":600,"height":800,"alt":"Women's Casual Horse Heartbeat Printed V Neck T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"34.99","price":"19.99","retail_price":"34.99","available":true,"url":"\/products\/womens-casual-horse-heartbeat-printed-v-neck-t-shirt?variant=9ba6366f-8b2a-4e43-8e06-64dc1d0fa623","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":352};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Orange
${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":"9ba6366f-8b2a-4e43-8e06-64dc1d0fa623","product_id":"735fd013-4a7c-4979-a5da-a5df912739e3","title":"Orange-S","weight_unit":"kg","inventory_quantity":999,"sku":"K546949221424820224","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c7de368c3b3b72a337730cf72405714.png","path":"7c7de368c3b3b72a337730cf72405714.png","width":600,"height":800,"alt":"Women's Casual Horse Heartbeat Printed V Neck T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"34.99","price":"19.99","retail_price":"34.99","available":true,"url":"\/products\/womens-casual-horse-heartbeat-printed-v-neck-t-shirt?variant=9ba6366f-8b2a-4e43-8e06-64dc1d0fa623","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":352};
return `
`
}()}