Single-Sale The Genshin Set
${function() {
const variantData = data.variant || {"id":"8623f651-0441-4b5a-ae31-bd9f7fca7112","product_id":"13fa408c-acf0-4757-94fc-ceae7113ffdf","title":"A","weight_unit":"g","inventory_quantity":997,"sku":"\u949f\u79bb","barcode":"","position":1,"option1":"A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a2c9f46995206500b6ef6b38bff75719.jpeg","path":"a2c9f46995206500b6ef6b38bff75719.jpeg","width":800,"height":800,"alt":"Single-Sale The Genshin Set rebuildvenus","aspect_ratio":1},"wholesale_price":[{"price":1.98,"min_quantity":1}],"weight":"12","compare_at_price":"2.2","price":"1.98","retail_price":"2.2","available":true,"url":"\/products\/single-sale-the-genshin-set?variant=8623f651-0441-4b5a-ae31-bd9f7fca7112","available_quantity":997,"options":[{"name":"SKU","value":"A"}],"off_ratio":"10","flashsale_info":{"variant_id":"8623f651-0441-4b5a-ae31-bd9f7fca7112","product_id":"","quantity":0,"discount_id":"d7d2c2db-01ca-4bb9-ab3f-58e84867f63f","limit_time":-1,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":1,"discount_sales_rate":"1","discount_stock":997,"ends_at":-1,"starts_at":1727056678,"allow_oversold":"uncheck","allocation_method":"none","price":"1.98","compare_at_price":"2.20","discount_price":"1.98","customary_saved_price":"0.22","customary_off_ratio":"10","discount_saved_price":"0.22","discount_off_ratio":"10","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":7};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.