GAR BETHE Summer Thin Men's Ice Silk Long-sleeved T-shirt Print Lapel Polo Shirt Loose Spring And Autumn Busness Trend Tops
${function() {
const variantData = data.variant || {"id":"16e13c34-85df-4736-8575-6cb6f135f6cb","product_id":"58cd0951-47a6-435e-8b29-11b3cfe1ae45","title":"navy-Asian size M","weight_unit":"kg","inventory_quantity":764,"sku":"","barcode":"","position":1,"option1":"navy","option2":"Asian size M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cc40cff7692d1a4b48bd7e3219212a65.jpeg","path":"cc40cff7692d1a4b48bd7e3219212a65.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.1,"min_quantity":1}],"weight":"0.3","compare_at_price":"32.9","price":"18.1","retail_price":"32.9","available":true,"url":"\/products\/gar-bethe-summer-thin-mens-ice-silk-long-sleeved-t-shirt-print-lapel-polo-shirt-loose-spring-and-autumn-busness-trend-tops?variant=16e13c34-85df-4736-8575-6cb6f135f6cb","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"size","value":"Asian size M"}],"off_ratio":45,"flashsale_info":[],"sales":124};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
navy
${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
$18.10
${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":"16e13c34-85df-4736-8575-6cb6f135f6cb","product_id":"58cd0951-47a6-435e-8b29-11b3cfe1ae45","title":"navy-Asian size M","weight_unit":"kg","inventory_quantity":764,"sku":"","barcode":"","position":1,"option1":"navy","option2":"Asian size M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cc40cff7692d1a4b48bd7e3219212a65.jpeg","path":"cc40cff7692d1a4b48bd7e3219212a65.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.1,"min_quantity":1}],"weight":"0.3","compare_at_price":"32.9","price":"18.1","retail_price":"32.9","available":true,"url":"\/products\/gar-bethe-summer-thin-mens-ice-silk-long-sleeved-t-shirt-print-lapel-polo-shirt-loose-spring-and-autumn-busness-trend-tops?variant=16e13c34-85df-4736-8575-6cb6f135f6cb","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"size","value":"Asian size M"}],"off_ratio":45,"flashsale_info":[],"sales":124};
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.