GAR BETHE Summer Printed Casual Mens Shirts Business Beach Shirt Soft Thin Slim Quick Dry Tops Lapels Undershirt Homme
${function() {
const variantData = data.variant || {"id":"14159916-bcbb-4f19-aa44-74f393d489e7","product_id":"ba7d1f7b-07a2-4697-a840-f5ccb1246945","title":"Brown-Asian size M","weight_unit":"kg","inventory_quantity":799,"sku":"","barcode":"","position":1,"option1":"Brown","option2":"Asian size M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b7f8f261eec5d8a1e57d0d0cf46d0755.jpeg","path":"b7f8f261eec5d8a1e57d0d0cf46d0755.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"0.3","compare_at_price":"28.6","price":"20","retail_price":"28.6","available":true,"url":"\/products\/gar-bethe-summer-printed-casual-mens-shirts-business-beach-shirt-soft-thin-slim-quick-dry-tops-lapels-undershirt-homme?variant=14159916-bcbb-4f19-aa44-74f393d489e7","available_quantity":999999999,"options":[{"name":"color","value":"Brown"},{"name":"size","value":"Asian size M"}],"off_ratio":30,"flashsale_info":[],"sales":774};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Brown
${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:
Asian 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
$20.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":"14159916-bcbb-4f19-aa44-74f393d489e7","product_id":"ba7d1f7b-07a2-4697-a840-f5ccb1246945","title":"Brown-Asian size M","weight_unit":"kg","inventory_quantity":799,"sku":"","barcode":"","position":1,"option1":"Brown","option2":"Asian size M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b7f8f261eec5d8a1e57d0d0cf46d0755.jpeg","path":"b7f8f261eec5d8a1e57d0d0cf46d0755.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"0.3","compare_at_price":"28.6","price":"20","retail_price":"28.6","available":true,"url":"\/products\/gar-bethe-summer-printed-casual-mens-shirts-business-beach-shirt-soft-thin-slim-quick-dry-tops-lapels-undershirt-homme?variant=14159916-bcbb-4f19-aa44-74f393d489e7","available_quantity":999999999,"options":[{"name":"color","value":"Brown"},{"name":"size","value":"Asian size M"}],"off_ratio":30,"flashsale_info":[],"sales":774};
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.