SUCCESS SMARTU Tommy Hilfiger Men's Dress Shirt Regular Fit Non Iron Gingham
${function() {
const variantData = data.variant || {"id":"ed5ff2f7-b18a-4051-a7c4-0aeb66fd19d7","product_id":"37dec08d-c4d0-4b1f-9743-ad39f21b8a0d","title":"Aqua-14.5\" Neck 32\"-33\" Sleeve","weight_unit":"kg","inventory_quantity":763,"sku":"","barcode":"","position":1,"option1":"Aqua","option2":"14.5\" Neck 32\"-33\" Sleeve","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c65ce9cbb1462d26d90dc722bc829e9b.jpeg","path":"c65ce9cbb1462d26d90dc722bc829e9b.jpeg","width":962,"height":1500,"alt":"","aspect_ratio":0.6413333333333333},"wholesale_price":[{"price":43.8,"min_quantity":1}],"weight":"0","compare_at_price":"43.8","price":"43.8","retail_price":"43.8","available":true,"url":"\/products\/success-smartu-tommy-hilfiger-mens-dress-shirt-regular-fit-non-iron-gingham?variant=ed5ff2f7-b18a-4051-a7c4-0aeb66fd19d7","available_quantity":999999999,"options":[{"name":"Color","value":"Aqua"},{"name":"Size","value":"14.5\" Neck 32\"-33\" Sleeve"}],"off_ratio":0,"flashsale_info":[],"sales":168};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Aqua
${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:
14.5" Neck 32"-33" Sleeve
${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
$43.80
${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":"ed5ff2f7-b18a-4051-a7c4-0aeb66fd19d7","product_id":"37dec08d-c4d0-4b1f-9743-ad39f21b8a0d","title":"Aqua-14.5\" Neck 32\"-33\" Sleeve","weight_unit":"kg","inventory_quantity":763,"sku":"","barcode":"","position":1,"option1":"Aqua","option2":"14.5\" Neck 32\"-33\" Sleeve","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c65ce9cbb1462d26d90dc722bc829e9b.jpeg","path":"c65ce9cbb1462d26d90dc722bc829e9b.jpeg","width":962,"height":1500,"alt":"","aspect_ratio":0.6413333333333333},"wholesale_price":[{"price":43.8,"min_quantity":1}],"weight":"0","compare_at_price":"43.8","price":"43.8","retail_price":"43.8","available":true,"url":"\/products\/success-smartu-tommy-hilfiger-mens-dress-shirt-regular-fit-non-iron-gingham?variant=ed5ff2f7-b18a-4051-a7c4-0aeb66fd19d7","available_quantity":999999999,"options":[{"name":"Color","value":"Aqua"},{"name":"Size","value":"14.5\" Neck 32\"-33\" Sleeve"}],"off_ratio":0,"flashsale_info":[],"sales":168};
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":"ed5ff2f7-b18a-4051-a7c4-0aeb66fd19d7","product_id":"37dec08d-c4d0-4b1f-9743-ad39f21b8a0d","title":"Aqua-14.5\" Neck 32\"-33\" Sleeve","weight_unit":"kg","inventory_quantity":763,"sku":"","barcode":"","position":1,"option1":"Aqua","option2":"14.5\" Neck 32\"-33\" Sleeve","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c65ce9cbb1462d26d90dc722bc829e9b.jpeg","path":"c65ce9cbb1462d26d90dc722bc829e9b.jpeg","width":962,"height":1500,"alt":"","aspect_ratio":0.6413333333333333},"wholesale_price":[{"price":43.8,"min_quantity":1}],"weight":"0","compare_at_price":"43.8","price":"43.8","retail_price":"43.8","available":true,"url":"\/products\/success-smartu-tommy-hilfiger-mens-dress-shirt-regular-fit-non-iron-gingham?variant=ed5ff2f7-b18a-4051-a7c4-0aeb66fd19d7","available_quantity":999999999,"options":[{"name":"Color","value":"Aqua"},{"name":"Size","value":"14.5\" Neck 32\"-33\" Sleeve"}],"off_ratio":0,"flashsale_info":[],"sales":168};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}