${function() {
const variantData = data.variant || {"id":"3207014a-edda-43bf-a08c-65736df73102","product_id":"3da2b167-202f-4857-9267-332870dc1be2","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K570149336088064000","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b7ccb893622c84002b9739c4b34d158d.jpeg","path":"b7ccb893622c84002b9739c4b34d158d.jpeg","width":600,"height":800,"alt":"Women's Striped Funny Dog With Clothes Print Causal Leggings","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"38.96","price":"21.99","retail_price":"38.96","available":true,"url":"\/products\/womens-striped-funny-dog-with-clothes-print-causal-leggings?variant=3207014a-edda-43bf-a08c-65736df73102","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":44,"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
: Blue
${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":"3207014a-edda-43bf-a08c-65736df73102","product_id":"3da2b167-202f-4857-9267-332870dc1be2","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K570149336088064000","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b7ccb893622c84002b9739c4b34d158d.jpeg","path":"b7ccb893622c84002b9739c4b34d158d.jpeg","width":600,"height":800,"alt":"Women's Striped Funny Dog With Clothes Print Causal Leggings","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"38.96","price":"21.99","retail_price":"38.96","available":true,"url":"\/products\/womens-striped-funny-dog-with-clothes-print-causal-leggings?variant=3207014a-edda-43bf-a08c-65736df73102","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":352};
return `
`
}()}