GAR BETHE Men's Western Shirts Jacket Flannel Lined Shirt Jackets Long Sleeved Rugged Plaid Cotton Brushed Suede Shirt Jacket
${function() {
const variantData = data.variant || {"id":"9371fc17-4fa4-4152-ab30-27a2cc9fb927","product_id":"4c58afe3-bf56-4433-a659-47626e98dce0","title":"Blue-US Size S","weight_unit":"kg","inventory_quantity":645,"sku":"","barcode":"","position":1,"option1":"Blue","option2":"US Size S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/992f44350dc2e41094dfd0127a285847.jpeg","path":"992f44350dc2e41094dfd0127a285847.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":46.6,"min_quantity":1}],"weight":"0.7","compare_at_price":"77.7","price":"46.6","retail_price":"77.7","available":true,"url":"\/products\/gar-bethe-mens-western-shirts-jacket-flannel-lined-shirt-jackets-long-sleeved-rugged-plaid-cotton-brushed-suede-shirt-jacket-vnrp?variant=9371fc17-4fa4-4152-ab30-27a2cc9fb927","available_quantity":999999999,"options":[{"name":"color","value":"Blue"},{"name":"size","value":"US Size S"}],"off_ratio":40,"flashsale_info":[],"sales":735};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Blue
${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:
US 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
$46.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":"9371fc17-4fa4-4152-ab30-27a2cc9fb927","product_id":"4c58afe3-bf56-4433-a659-47626e98dce0","title":"Blue-US Size S","weight_unit":"kg","inventory_quantity":645,"sku":"","barcode":"","position":1,"option1":"Blue","option2":"US Size S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/992f44350dc2e41094dfd0127a285847.jpeg","path":"992f44350dc2e41094dfd0127a285847.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":46.6,"min_quantity":1}],"weight":"0.7","compare_at_price":"77.7","price":"46.6","retail_price":"77.7","available":true,"url":"\/products\/gar-bethe-mens-western-shirts-jacket-flannel-lined-shirt-jackets-long-sleeved-rugged-plaid-cotton-brushed-suede-shirt-jacket-vnrp?variant=9371fc17-4fa4-4152-ab30-27a2cc9fb927","available_quantity":999999999,"options":[{"name":"color","value":"Blue"},{"name":"size","value":"US Size S"}],"off_ratio":40,"flashsale_info":[],"sales":735};
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.