GAR BETHE Men's V Collar Men's T-shirt, Cotton Tight Fitting Short Sleeved Vest, Pure Cotton Pure Color Wholesale Men's T-shirt
${function() {
const variantData = data.variant || {"id":"ab14ed29-e823-4c0c-b7be-4ec3f0b8852d","product_id":"75b9ba3c-3d80-4cfe-b4b3-f25c535da7c6","title":"O White-M","weight_unit":"kg","inventory_quantity":621,"sku":"","barcode":"","position":1,"option1":"O White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b4abb4b72d58073e1bc8c99a5b739369.jpeg","path":"b4abb4b72d58073e1bc8c99a5b739369.jpeg","width":316,"height":407,"alt":"","aspect_ratio":0.7764127764127764},"wholesale_price":[{"price":9.8,"min_quantity":1}],"weight":"0.2","compare_at_price":"16.3","price":"9.8","retail_price":"16.3","available":true,"url":"\/products\/gar-bethe-mens-v-collar-mens-t-shirt-cotton-tight-fitting-short-sleeved-vest-pure-cotton-pure-color-wholesale-mens-t-shirt?variant=ab14ed29-e823-4c0c-b7be-4ec3f0b8852d","available_quantity":999999999,"options":[{"name":"color","value":"O White"},{"name":"size","value":"M"}],"off_ratio":40,"flashsale_info":[],"sales":436};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
O White
${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
$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":"ab14ed29-e823-4c0c-b7be-4ec3f0b8852d","product_id":"75b9ba3c-3d80-4cfe-b4b3-f25c535da7c6","title":"O White-M","weight_unit":"kg","inventory_quantity":621,"sku":"","barcode":"","position":1,"option1":"O White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b4abb4b72d58073e1bc8c99a5b739369.jpeg","path":"b4abb4b72d58073e1bc8c99a5b739369.jpeg","width":316,"height":407,"alt":"","aspect_ratio":0.7764127764127764},"wholesale_price":[{"price":9.8,"min_quantity":1}],"weight":"0.2","compare_at_price":"16.3","price":"9.8","retail_price":"16.3","available":true,"url":"\/products\/gar-bethe-mens-v-collar-mens-t-shirt-cotton-tight-fitting-short-sleeved-vest-pure-cotton-pure-color-wholesale-mens-t-shirt?variant=ab14ed29-e823-4c0c-b7be-4ec3f0b8852d","available_quantity":999999999,"options":[{"name":"color","value":"O White"},{"name":"size","value":"M"}],"off_ratio":40,"flashsale_info":[],"sales":436};
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.