GAR BETHE New Men's Spring And Autumn Solid Color Long-sleeved Lapel T-shirt Thin European Size Long-sleeved Polo Shirt
${function() {
const variantData = data.variant || {"id":"bd3ae4f2-1b9a-4aef-b116-30ad16e20356","product_id":"02aee714-09e0-45c6-ad71-6c15339108c9","title":"Black-S","weight_unit":"kg","inventory_quantity":798,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3ec2e83242fc1ead61ed72b19ec6f34c.jpeg","path":"3ec2e83242fc1ead61ed72b19ec6f34c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.8,"min_quantity":1}],"weight":"0.2","compare_at_price":"17.8","price":"9.8","retail_price":"17.8","available":true,"url":"\/products\/gar-bethe-new-mens-spring-and-autumn-solid-color-long-sleeved-lapel-t-shirt-thin-european-size-long-sleeved-polo-shirt-w9u7?variant=bd3ae4f2-1b9a-4aef-b116-30ad16e20356","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":865};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Black
${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
$9.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":"bd3ae4f2-1b9a-4aef-b116-30ad16e20356","product_id":"02aee714-09e0-45c6-ad71-6c15339108c9","title":"Black-S","weight_unit":"kg","inventory_quantity":798,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3ec2e83242fc1ead61ed72b19ec6f34c.jpeg","path":"3ec2e83242fc1ead61ed72b19ec6f34c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.8,"min_quantity":1}],"weight":"0.2","compare_at_price":"17.8","price":"9.8","retail_price":"17.8","available":true,"url":"\/products\/gar-bethe-new-mens-spring-and-autumn-solid-color-long-sleeved-lapel-t-shirt-thin-european-size-long-sleeved-polo-shirt-w9u7?variant=bd3ae4f2-1b9a-4aef-b116-30ad16e20356","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":865};
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.