${function() {
const variantData = data.variant || {"id":"6b70926b-710b-4173-b1a2-dd155cf3e6fc","product_id":"2bbd9533-01ee-40dd-ac96-3e1e7218c95a","title":"A","weight_unit":"kg","inventory_quantity":999,"sku":"K557757405395267584","barcode":"","position":1,"option1":"A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/defbf6964b7dfe019b58d249d42398d7.jpeg","path":"defbf6964b7dfe019b58d249d42398d7.jpeg","width":600,"height":800,"alt":"Women's Floral Plaid Pattern Knitted Print Casual Red Cozy Scarf","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.33","compare_at_price":"39.99","price":"19.99","retail_price":"39.99","available":true,"url":"\/products\/womens-floral-plaid-pattern-knitted-print-casual-red-cozy-scarf?variant=6b70926b-710b-4173-b1a2-dd155cf3e6fc","available_quantity":999999999,"options":[{"name":"Color","value":"A"}],"off_ratio":50,"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
: A
${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}
`
}()}
Add to cart
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"6b70926b-710b-4173-b1a2-dd155cf3e6fc","product_id":"2bbd9533-01ee-40dd-ac96-3e1e7218c95a","title":"A","weight_unit":"kg","inventory_quantity":999,"sku":"K557757405395267584","barcode":"","position":1,"option1":"A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/defbf6964b7dfe019b58d249d42398d7.jpeg","path":"defbf6964b7dfe019b58d249d42398d7.jpeg","width":600,"height":800,"alt":"Women's Floral Plaid Pattern Knitted Print Casual Red Cozy Scarf","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.33","compare_at_price":"39.99","price":"19.99","retail_price":"39.99","available":true,"url":"\/products\/womens-floral-plaid-pattern-knitted-print-casual-red-cozy-scarf?variant=6b70926b-710b-4173-b1a2-dd155cf3e6fc","available_quantity":999999999,"options":[{"name":"Color","value":"A"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}