OPS24042税费
副标题123
${function() {
const variantData = data.variant || {"id":"73ad8b08-e4f0-4d08-830b-9b177dccbbaf","product_id":"7b38c15b-d8a2-45d4-b41d-69df59e09797","title":"M-BLACK","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"M","option2":"BLACK","option3":"","note":"","image":null,"wholesale_price":[{"price":108000,"min_quantity":1}],"weight":"0.2","compare_at_price":"158000","price":"108000","retail_price":"158000","available":false,"url":"\/products\/ops24042\u7a0e\u8d39?variant=73ad8b08-e4f0-4d08-830b-9b177dccbbaf","available_quantity":0,"options":[{"name":"S","value":"M"},{"name":"BLACK","value":"BLACK"}],"off_ratio":32,"flashsale_info":[],"sales":28};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"73ad8b08-e4f0-4d08-830b-9b177dccbbaf","product_id":"7b38c15b-d8a2-45d4-b41d-69df59e09797","title":"M-BLACK","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"M","option2":"BLACK","option3":"","note":"","image":null,"wholesale_price":[{"price":108000,"min_quantity":1}],"weight":"0.2","compare_at_price":"158000","price":"108000","retail_price":"158000","available":false,"url":"\/products\/ops24042\u7a0e\u8d39?variant=73ad8b08-e4f0-4d08-830b-9b177dccbbaf","available_quantity":0,"options":[{"name":"S","value":"M"},{"name":"BLACK","value":"BLACK"}],"off_ratio":32,"flashsale_info":[],"sales":28};
return `
Sku6 : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
people are viewing this right now
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
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 `
`;
}()}