Four-Piece Loungewear Set
${function() {
const variantData = data.variant || {"id":"3c7e35db-916d-48de-8a21-6e78815d84c3","product_id":"d42d195f-b8eb-4471-99bf-69332251351f","title":"Blue-S","weight_unit":"kg","inventory_quantity":100,"sku":"412677qmwbtz-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8df4c27db52f75890c96c39f22ac9aa3.jpeg","path":"8df4c27db52f75890c96c39f22ac9aa3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"400","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/four-piece-loungewear-set-ss2f?variant=3c7e35db-916d-48de-8a21-6e78815d84c3","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":6};
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('')}
`;
}()}
SKU : 412677qmwbtz-Blue-S
Weight : 400kg
${function(){
const variantData = data.variant || {"id":"3c7e35db-916d-48de-8a21-6e78815d84c3","product_id":"d42d195f-b8eb-4471-99bf-69332251351f","title":"Blue-S","weight_unit":"kg","inventory_quantity":100,"sku":"412677qmwbtz-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8df4c27db52f75890c96c39f22ac9aa3.jpeg","path":"8df4c27db52f75890c96c39f22ac9aa3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"400","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/four-piece-loungewear-set-ss2f?variant=3c7e35db-916d-48de-8a21-6e78815d84c3","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":6};
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product does not exist