${function() {
const variantData = data.variant || {"id":"3bade8c0-92dd-471b-83ce-ecab818e65d1","product_id":"103da3ce-8c47-4f26-9984-bb576e484c2d","title":"Beige-S","weight_unit":"kg","inventory_quantity":999,"sku":"K624171565006381056","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1d805b5eda341f5b3336a94327c33b5.jpeg","path":"e1d805b5eda341f5b3336a94327c33b5.jpeg","width":750,"height":1000,"alt":"Men's Retro Cowboy Horse Racing Print Loose Drawstring Waist Sweatpants","aspect_ratio":0.75},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"55.99","price":"30.99","retail_price":"55.99","available":true,"url":"\/products\/mens-retro-cowboy-horse-racing-print-loose-drawstring-waist-sweatpants?variant=3bade8c0-92dd-471b-83ce-ecab818e65d1","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Beige
${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":"3bade8c0-92dd-471b-83ce-ecab818e65d1","product_id":"103da3ce-8c47-4f26-9984-bb576e484c2d","title":"Beige-S","weight_unit":"kg","inventory_quantity":999,"sku":"K624171565006381056","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1d805b5eda341f5b3336a94327c33b5.jpeg","path":"e1d805b5eda341f5b3336a94327c33b5.jpeg","width":750,"height":1000,"alt":"Men's Retro Cowboy Horse Racing Print Loose Drawstring Waist Sweatpants","aspect_ratio":0.75},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"55.99","price":"30.99","retail_price":"55.99","available":true,"url":"\/products\/mens-retro-cowboy-horse-racing-print-loose-drawstring-waist-sweatpants?variant=3bade8c0-92dd-471b-83ce-ecab818e65d1","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":0};
return `
`
}()}