PLUS LOFTS Windproof Thick Warm Jacket
${function() {
const variantData = data.variant || {"id":"aab119b1-6ee1-4862-bbd8-66b85e9219c2","product_id":"f76e984e-9ccf-4366-a72f-7a1470cb1ae7","title":"Green-XXL","weight_unit":"g","inventory_quantity":659,"sku":"","barcode":"","position":1,"option1":"Green","option2":"XXL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4be78f6c31ab25dd4f5f970cc44e446a.jpeg","path":"4be78f6c31ab25dd4f5f970cc44e446a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.2,"min_quantity":1}],"weight":"750","compare_at_price":"57","price":"34.2","retail_price":"57","available":true,"url":"\/products\/plus-lofts-windproof-thick-warm-jacket?variant=aab119b1-6ee1-4862-bbd8-66b85e9219c2","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"XXL"}],"off_ratio":40,"flashsale_info":[],"sales":435};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Green
${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}
`
}()}
Size:
XXL
${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}
`
}()}
Add to cart
$34.20
${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":"aab119b1-6ee1-4862-bbd8-66b85e9219c2","product_id":"f76e984e-9ccf-4366-a72f-7a1470cb1ae7","title":"Green-XXL","weight_unit":"g","inventory_quantity":659,"sku":"","barcode":"","position":1,"option1":"Green","option2":"XXL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4be78f6c31ab25dd4f5f970cc44e446a.jpeg","path":"4be78f6c31ab25dd4f5f970cc44e446a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.2,"min_quantity":1}],"weight":"750","compare_at_price":"57","price":"34.2","retail_price":"57","available":true,"url":"\/products\/plus-lofts-windproof-thick-warm-jacket?variant=aab119b1-6ee1-4862-bbd8-66b85e9219c2","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"XXL"}],"off_ratio":40,"flashsale_info":[],"sales":435};
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.