${function() {
const variantData = data.variant || {"id":"831d8e28-dd73-4795-9cad-c15e00085f83","product_id":"316ff383-ef0a-4fcb-8c6a-a1737ec05b2b","title":"Orange-S","weight_unit":"kg","inventory_quantity":999,"sku":"K569820327663886336","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5199a15fa334792b1bb662e609b6d27f.jpeg","path":"5199a15fa334792b1bb662e609b6d27f.jpeg","width":675,"height":900,"alt":"Women's Fuzzy Poodle Dog Pattern Print Causal Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"41.99","price":"23.99","retail_price":"41.99","available":true,"url":"\/products\/womens-fuzzy-poodle-dog-pattern-print-causal-sweatshirt-3t0i?variant=831d8e28-dd73-4795-9cad-c15e00085f83","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":403};
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":"831d8e28-dd73-4795-9cad-c15e00085f83","product_id":"316ff383-ef0a-4fcb-8c6a-a1737ec05b2b","title":"Orange-S","weight_unit":"kg","inventory_quantity":999,"sku":"K569820327663886336","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5199a15fa334792b1bb662e609b6d27f.jpeg","path":"5199a15fa334792b1bb662e609b6d27f.jpeg","width":675,"height":900,"alt":"Women's Fuzzy Poodle Dog Pattern Print Causal Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"41.99","price":"23.99","retail_price":"41.99","available":true,"url":"\/products\/womens-fuzzy-poodle-dog-pattern-print-causal-sweatshirt-3t0i?variant=831d8e28-dd73-4795-9cad-c15e00085f83","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":403};
return `
`
}()}