Men's Paisley Pattern Print Hooded Two-Pocket Fleece Cardigan Jacket
${function() {
const variantData = data.variant || {"id":"b470c50e-e58f-4857-91f9-c423fe6fece7","product_id":"c5c99c7d-5260-498d-9d89-7edc6d5da4cc","title":"Cardigan Jacket(A)-Photo Color-M","weight_unit":"kg","inventory_quantity":1000,"sku":"31538525ZJ_Cardigan Jacket(A)||Photo Color||M||SW||SW","barcode":"","position":1,"option1":"Cardigan Jacket(A)","option2":"Photo Color","option3":"M","note":"","image":{"src":"\/\/img.staticdj.com\/1989a12b07f7ce09dfe732f2a45d67af.jpeg","path":"1989a12b07f7ce09dfe732f2a45d67af.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":55,"min_quantity":1}],"weight":"0","compare_at_price":"79","price":"55","retail_price":"79","available":true,"url":"\/products\/mens-perris-pattern-print-hooded-two-pocket-fleece-cardigan-jacket?variant=b470c50e-e58f-4857-91f9-c423fe6fece7","available_quantity":999999999,"options":[{"name":"PRODUCT TYPE","value":"Cardigan Jacket(A)"},{"name":"color","value":"Photo Color"},{"name":"size","value":"M"}],"off_ratio":30,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Product Type:
Cardigan Jacket(A)
${function(){
const optName = "PRODUCT TYPE";
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:
Photo Color
${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:
M
${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
$55.00
${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":"b470c50e-e58f-4857-91f9-c423fe6fece7","product_id":"c5c99c7d-5260-498d-9d89-7edc6d5da4cc","title":"Cardigan Jacket(A)-Photo Color-M","weight_unit":"kg","inventory_quantity":1000,"sku":"31538525ZJ_Cardigan Jacket(A)||Photo Color||M||SW||SW","barcode":"","position":1,"option1":"Cardigan Jacket(A)","option2":"Photo Color","option3":"M","note":"","image":{"src":"\/\/img.staticdj.com\/1989a12b07f7ce09dfe732f2a45d67af.jpeg","path":"1989a12b07f7ce09dfe732f2a45d67af.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":55,"min_quantity":1}],"weight":"0","compare_at_price":"79","price":"55","retail_price":"79","available":true,"url":"\/products\/mens-perris-pattern-print-hooded-two-pocket-fleece-cardigan-jacket?variant=b470c50e-e58f-4857-91f9-c423fe6fece7","available_quantity":999999999,"options":[{"name":"PRODUCT TYPE","value":"Cardigan Jacket(A)"},{"name":"color","value":"Photo Color"},{"name":"size","value":"M"}],"off_ratio":30,"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":"b470c50e-e58f-4857-91f9-c423fe6fece7","product_id":"c5c99c7d-5260-498d-9d89-7edc6d5da4cc","title":"Cardigan Jacket(A)-Photo Color-M","weight_unit":"kg","inventory_quantity":1000,"sku":"31538525ZJ_Cardigan Jacket(A)||Photo Color||M||SW||SW","barcode":"","position":1,"option1":"Cardigan Jacket(A)","option2":"Photo Color","option3":"M","note":"","image":{"src":"\/\/img.staticdj.com\/1989a12b07f7ce09dfe732f2a45d67af.jpeg","path":"1989a12b07f7ce09dfe732f2a45d67af.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":55,"min_quantity":1}],"weight":"0","compare_at_price":"79","price":"55","retail_price":"79","available":true,"url":"\/products\/mens-perris-pattern-print-hooded-two-pocket-fleece-cardigan-jacket?variant=b470c50e-e58f-4857-91f9-c423fe6fece7","available_quantity":999999999,"options":[{"name":"PRODUCT TYPE","value":"Cardigan Jacket(A)"},{"name":"color","value":"Photo Color"},{"name":"size","value":"M"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
`
}()}