GAR BETHE Vintage Heavy May Khaki Corduroy Men's Shirt Long Sleeve Loose Cargo Bag Casual Shirt Coat
${function() {
const variantData = data.variant || {"id":"0319a6ca-d644-4c2f-918e-fbd8fcb1a109","product_id":"04725c24-231a-47ad-93b5-44b8f6d5f445","title":"17-M","weight_unit":"kg","inventory_quantity":889,"sku":"","barcode":"","position":1,"option1":"17","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3b8bdac2c40bf6db27b279035a7bb25f.jpeg","path":"3b8bdac2c40bf6db27b279035a7bb25f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41.4,"min_quantity":1}],"weight":"0.65","compare_at_price":"82.8","price":"41.4","retail_price":"82.8","available":true,"url":"\/products\/gar-bethe-vintage-heavy-may-khaki-corduroy-mens-shirt-long-sleeve-loose-cargo-bag-casual-shirt-coat?variant=0319a6ca-d644-4c2f-918e-fbd8fcb1a109","available_quantity":999999999,"options":[{"name":"color","value":"17"},{"name":"size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":268};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
17
${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
$41.40
${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":"0319a6ca-d644-4c2f-918e-fbd8fcb1a109","product_id":"04725c24-231a-47ad-93b5-44b8f6d5f445","title":"17-M","weight_unit":"kg","inventory_quantity":889,"sku":"","barcode":"","position":1,"option1":"17","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3b8bdac2c40bf6db27b279035a7bb25f.jpeg","path":"3b8bdac2c40bf6db27b279035a7bb25f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41.4,"min_quantity":1}],"weight":"0.65","compare_at_price":"82.8","price":"41.4","retail_price":"82.8","available":true,"url":"\/products\/gar-bethe-vintage-heavy-may-khaki-corduroy-mens-shirt-long-sleeve-loose-cargo-bag-casual-shirt-coat?variant=0319a6ca-d644-4c2f-918e-fbd8fcb1a109","available_quantity":999999999,"options":[{"name":"color","value":"17"},{"name":"size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":268};
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.