GAR BETHE Mens Classic Standard-fit Long-sleeve Dress Shirt With Contrast Button-front Placket Striped /twill Formal Business Basic Shirts
${function() {
const variantData = data.variant || {"id":"9a4941a8-d889-48d2-af36-40fe9f83e74b","product_id":"95fd3b7e-bf77-42aa-91a7-3aed372c19e1","title":"1-146-39","weight_unit":"kg","inventory_quantity":866,"sku":"","barcode":"","position":1,"option1":"1-146","option2":"39","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8cabfd5432493f25378e85199001cb12.jpeg","path":"8cabfd5432493f25378e85199001cb12.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.6,"min_quantity":1}],"weight":"0.32","compare_at_price":"45.2","price":"22.6","retail_price":"45.2","available":true,"url":"\/products\/gar-bethe-mens-classic-standard-fit-long-sleeve-dress-shirt-with-contrast-button-front-placket-striped-twill-formal-business-basic-shirts-bz96?variant=9a4941a8-d889-48d2-af36-40fe9f83e74b","available_quantity":999999999,"options":[{"name":"color","value":"1-146"},{"name":"size","value":"39"}],"off_ratio":50,"flashsale_info":[],"sales":518};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
1-146
${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:
39
${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
$22.60
${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":"9a4941a8-d889-48d2-af36-40fe9f83e74b","product_id":"95fd3b7e-bf77-42aa-91a7-3aed372c19e1","title":"1-146-39","weight_unit":"kg","inventory_quantity":866,"sku":"","barcode":"","position":1,"option1":"1-146","option2":"39","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8cabfd5432493f25378e85199001cb12.jpeg","path":"8cabfd5432493f25378e85199001cb12.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.6,"min_quantity":1}],"weight":"0.32","compare_at_price":"45.2","price":"22.6","retail_price":"45.2","available":true,"url":"\/products\/gar-bethe-mens-classic-standard-fit-long-sleeve-dress-shirt-with-contrast-button-front-placket-striped-twill-formal-business-basic-shirts-bz96?variant=9a4941a8-d889-48d2-af36-40fe9f83e74b","available_quantity":999999999,"options":[{"name":"color","value":"1-146"},{"name":"size","value":"39"}],"off_ratio":50,"flashsale_info":[],"sales":518};
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.