GAR BETHE European American Shirts 2024 New Men's Casual Loose Simple Lapel Corduroy Short-sleeved Shirt Men Clothing
${function() {
const variantData = data.variant || {"id":"3ddba8ac-a943-4746-ba9c-06962dd94c88","product_id":"c702a524-9c51-4e79-a21e-78f47bd49868","title":"Brown-S","weight_unit":"kg","inventory_quantity":822,"sku":"","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9e7c33f9e3de88f0edc1bb3088cff616.jpeg","path":"9e7c33f9e3de88f0edc1bb3088cff616.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.8,"min_quantity":1}],"weight":"0","compare_at_price":"47.6","price":"23.8","retail_price":"47.6","available":true,"url":"\/products\/gar-bethe-european-american-shirts-2024-new-mens-casual-loose-simple-lapel-corduroy-short-sleeved-shirt-men-clothing?variant=3ddba8ac-a943-4746-ba9c-06962dd94c88","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":394};
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:
S
${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
$23.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":"3ddba8ac-a943-4746-ba9c-06962dd94c88","product_id":"c702a524-9c51-4e79-a21e-78f47bd49868","title":"Brown-S","weight_unit":"kg","inventory_quantity":822,"sku":"","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9e7c33f9e3de88f0edc1bb3088cff616.jpeg","path":"9e7c33f9e3de88f0edc1bb3088cff616.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.8,"min_quantity":1}],"weight":"0","compare_at_price":"47.6","price":"23.8","retail_price":"47.6","available":true,"url":"\/products\/gar-bethe-european-american-shirts-2024-new-mens-casual-loose-simple-lapel-corduroy-short-sleeved-shirt-men-clothing?variant=3ddba8ac-a943-4746-ba9c-06962dd94c88","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":394};
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.