GAR BETHE New Fashion Shirt Men's Trend Slim Short Sleeved Shirt Casual Business Comfortable Dress Party Shirt Tops
${function() {
const variantData = data.variant || {"id":"4fcd6dd8-36bd-4cf0-89f9-8205509f45a9","product_id":"a9a64a93-5024-42d5-afa7-4436a5eeab01","title":"white H TW-CS133-Asian Size M","weight_unit":"kg","inventory_quantity":841,"sku":"","barcode":"","position":1,"option1":"white H TW-CS133","option2":"Asian Size M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/081066e829965c8ac92a4b07166366d6.jpeg","path":"081066e829965c8ac92a4b07166366d6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16,"min_quantity":1}],"weight":"0.3","compare_at_price":"32","price":"16","retail_price":"32","available":true,"url":"\/products\/gar-bethe-new-fashion-shirt-mens-trend-slim-short-sleeved-shirt-casual-business-comfortable-dress-party-shirt-tops?variant=4fcd6dd8-36bd-4cf0-89f9-8205509f45a9","available_quantity":999999999,"options":[{"name":"color","value":"white H TW-CS133"},{"name":"size","value":"Asian Size M"}],"off_ratio":50,"flashsale_info":[],"sales":541};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
white H TW-CS133
${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
$16.00
${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":"4fcd6dd8-36bd-4cf0-89f9-8205509f45a9","product_id":"a9a64a93-5024-42d5-afa7-4436a5eeab01","title":"white H TW-CS133-Asian Size M","weight_unit":"kg","inventory_quantity":841,"sku":"","barcode":"","position":1,"option1":"white H TW-CS133","option2":"Asian Size M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/081066e829965c8ac92a4b07166366d6.jpeg","path":"081066e829965c8ac92a4b07166366d6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16,"min_quantity":1}],"weight":"0.3","compare_at_price":"32","price":"16","retail_price":"32","available":true,"url":"\/products\/gar-bethe-new-fashion-shirt-mens-trend-slim-short-sleeved-shirt-casual-business-comfortable-dress-party-shirt-tops?variant=4fcd6dd8-36bd-4cf0-89f9-8205509f45a9","available_quantity":999999999,"options":[{"name":"color","value":"white H TW-CS133"},{"name":"size","value":"Asian Size M"}],"off_ratio":50,"flashsale_info":[],"sales":541};
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.