Solid Color Hollow Rib Knit Crew Neck Slim Vest
${function() {
const variantData = data.variant || {"id":"cc22ca8b-fbc4-456c-93e2-ca563b9099f7","product_id":"7386e186-cfb4-4a4e-93cd-a3dead8b7969","title":"White-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"453264ypwbbx-White-XS","barcode":"","position":1,"option1":"White","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/56be9f1a48bb9f0a485cacb3b48fe44e.jpeg","path":"56be9f1a48bb9f0a485cacb3b48fe44e.jpeg","width":1036,"height":1296,"alt":"","aspect_ratio":0.7993827160493827},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"19.99","price":"20.99","retail_price":"19.99","available":true,"url":"\/products\/solid-color-hollow-rib-knit-crew-neck-slim-vest?variant=cc22ca8b-fbc4-456c-93e2-ca563b9099f7","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"XS"}],"off_ratio":"0","flashsale_info":{"variant_id":"cc22ca8b-fbc4-456c-93e2-ca563b9099f7","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":"20.99","compare_at_price":"","discount_price":"20.99","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 = "amount";
const productLabelDiscountOn = true;
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":"cc22ca8b-fbc4-456c-93e2-ca563b9099f7","product_id":"7386e186-cfb4-4a4e-93cd-a3dead8b7969","title":"White-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"453264ypwbbx-White-XS","barcode":"","position":1,"option1":"White","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/56be9f1a48bb9f0a485cacb3b48fe44e.jpeg","path":"56be9f1a48bb9f0a485cacb3b48fe44e.jpeg","width":1036,"height":1296,"alt":"","aspect_ratio":0.7993827160493827},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"19.99","price":"20.99","retail_price":"19.99","available":true,"url":"\/products\/solid-color-hollow-rib-knit-crew-neck-slim-vest?variant=cc22ca8b-fbc4-456c-93e2-ca563b9099f7","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"XS"}],"off_ratio":"0","flashsale_info":{"variant_id":"cc22ca8b-fbc4-456c-93e2-ca563b9099f7","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":"20.99","compare_at_price":"","discount_price":"20.99","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};
return `
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product does not exist