Plush Loose Long Sleeve V-neck Buttoned Cardigan
${function() {
const variantData = data.variant || {"id":"c86cd176-b2c3-471a-b642-a6d8eb270c43","product_id":"04b94c3b-e1f3-418c-8707-d5c485fc5f29","title":"S-Khaki","weight_unit":"kg","inventory_quantity":1000,"sku":"S Khaki-184355420","barcode":"","position":2,"option1":"S","option2":"Khaki","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b5377709b659e2a9091180b80c5a44f.jpeg","path":"2b5377709b659e2a9091180b80c5a44f.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"39.99","retail_price":"39.99","available":true,"url":"\/products\/plush-loose-long-sleeve-v-neck-buttoned-cardigan-210943421910?variant=c86cd176-b2c3-471a-b642-a6d8eb270c43","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Khaki"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Size:
S
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Color:
Khaki
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$39.99
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"c86cd176-b2c3-471a-b642-a6d8eb270c43","product_id":"04b94c3b-e1f3-418c-8707-d5c485fc5f29","title":"S-Khaki","weight_unit":"kg","inventory_quantity":1000,"sku":"S Khaki-184355420","barcode":"","position":2,"option1":"S","option2":"Khaki","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b5377709b659e2a9091180b80c5a44f.jpeg","path":"2b5377709b659e2a9091180b80c5a44f.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"39.99","retail_price":"39.99","available":true,"url":"\/products\/plush-loose-long-sleeve-v-neck-buttoned-cardigan-210943421910?variant=c86cd176-b2c3-471a-b642-a6d8eb270c43","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Khaki"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"c86cd176-b2c3-471a-b642-a6d8eb270c43","product_id":"04b94c3b-e1f3-418c-8707-d5c485fc5f29","title":"S-Khaki","weight_unit":"kg","inventory_quantity":1000,"sku":"S Khaki-184355420","barcode":"","position":2,"option1":"S","option2":"Khaki","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b5377709b659e2a9091180b80c5a44f.jpeg","path":"2b5377709b659e2a9091180b80c5a44f.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"39.99","retail_price":"39.99","available":true,"url":"\/products\/plush-loose-long-sleeve-v-neck-buttoned-cardigan-210943421910?variant=c86cd176-b2c3-471a-b642-a6d8eb270c43","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Khaki"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}