Exchange Fee
${function() {
const variantData = data.variant || {"id":"00e7d4a8-00db-4772-bac8-aa2e04888ab5","product_id":"8a642499-6ab2-4fe4-bc69-221616a052ea","title":"10","weight_unit":"kg","inventory_quantity":100000,"sku":"410408sh-10","barcode":"","position":1,"option1":"10","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1b95c9fd7742b1dd24f242ed9a84fc37.png","path":"1b95c9fd7742b1dd24f242ed9a84fc37.png","width":490,"height":306,"alt":"","aspect_ratio":1.6013071895424837},"wholesale_price":[{"price":10,"min_quantity":1}],"weight":"0","compare_at_price":"10","price":"10","retail_price":"10","available":true,"url":"\/products\/exchange-fee?variant=00e7d4a8-00db-4772-bac8-aa2e04888ab5","available_quantity":999999999,"options":[{"name":"Type","value":"10"}],"off_ratio":0,"flashsale_info":[],"sales":24};
const saveType = "percentage";
const productLabelDiscountOn = false;
const map = {
B: ``,
C: ``,
A: `
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`
}
const price_group_arr = ["B","C","A"];
const price_str_arr = price_group_arr.map(type => map[type]);
return `
-
${price_str_arr.join('')}
`;
}()}
${function(){
const variantData = data.variant || {"id":"00e7d4a8-00db-4772-bac8-aa2e04888ab5","product_id":"8a642499-6ab2-4fe4-bc69-221616a052ea","title":"10","weight_unit":"kg","inventory_quantity":100000,"sku":"410408sh-10","barcode":"","position":1,"option1":"10","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1b95c9fd7742b1dd24f242ed9a84fc37.png","path":"1b95c9fd7742b1dd24f242ed9a84fc37.png","width":490,"height":306,"alt":"","aspect_ratio":1.6013071895424837},"wholesale_price":[{"price":10,"min_quantity":1}],"weight":"0","compare_at_price":"10","price":"10","retail_price":"10","available":true,"url":"\/products\/exchange-fee?variant=00e7d4a8-00db-4772-bac8-aa2e04888ab5","available_quantity":999999999,"options":[{"name":"Type","value":"10"}],"off_ratio":0,"flashsale_info":[],"sales":24};
return `
SKU : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product does not exist