Special Customization
If there are armbands that need to be printed, you can send pictures to customer service for customization.
${data.discount_code}
${function() {
const variantData = data.variant || {"id":"2ae7a73f-5aba-4f89-b8ae-e03b08b737e7","product_id":"48da3cc8-a58d-47fa-97e7-efe9ad5c650d","title":"A","weight_unit":"kg","inventory_quantity":0,"sku":"AS12793DE-A","barcode":"","position":1,"option1":"A","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":0,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"0","retail_price":"0","available":true,"url":"\/products\/special-customization?variant=2ae7a73f-5aba-4f89-b8ae-e03b08b737e7","available_quantity":999999999,"options":[{"name":"Badges and custom information","value":"A"}],"off_ratio":"0","flashsale_info":{"variant_id":"2ae7a73f-5aba-4f89-b8ae-e03b08b737e7","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"0","compare_at_price":"","discount_price":"0","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('5');
const maxInventory = parseInt('20');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
people are viewing this right now
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.