GAR BETHE Korean Trend Casual Long Sleeve T-shirt Men's Cotton V-neck Solid Printing Thin Fashion Versatile Slim Spring Autumn Bottom Tops
${function() {
const variantData = data.variant || {"id":"86e7f843-2789-41fb-94f2-aaa1b5765a64","product_id":"0e40daf9-2341-452f-b017-702a403ede22","title":"white 191-S (45-50KG)","weight_unit":"kg","inventory_quantity":677,"sku":"","barcode":"","position":1,"option1":"white 191","option2":"S (45-50KG)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c569e88b5fff1125ad975cf1bb55252.jpeg","path":"6c569e88b5fff1125ad975cf1bb55252.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.7,"min_quantity":1}],"weight":"0.4","compare_at_price":"51.4","price":"25.7","retail_price":"51.4","available":true,"url":"\/products\/gar-bethe-korean-trend-casual-long-sleeve-t-shirt-mens-cotton-v-neck-solid-printing-thin-fashion-versatile-slim-spring-autumn-bottom-tops-c7fd?variant=86e7f843-2789-41fb-94f2-aaa1b5765a64","available_quantity":999999999,"options":[{"name":"color","value":"white 191"},{"name":"size","value":"S (45-50KG)"}],"off_ratio":50,"flashsale_info":[],"sales":724};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
white 191
${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 (45-50KG)
${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
$25.70
${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":"86e7f843-2789-41fb-94f2-aaa1b5765a64","product_id":"0e40daf9-2341-452f-b017-702a403ede22","title":"white 191-S (45-50KG)","weight_unit":"kg","inventory_quantity":677,"sku":"","barcode":"","position":1,"option1":"white 191","option2":"S (45-50KG)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c569e88b5fff1125ad975cf1bb55252.jpeg","path":"6c569e88b5fff1125ad975cf1bb55252.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.7,"min_quantity":1}],"weight":"0.4","compare_at_price":"51.4","price":"25.7","retail_price":"51.4","available":true,"url":"\/products\/gar-bethe-korean-trend-casual-long-sleeve-t-shirt-mens-cotton-v-neck-solid-printing-thin-fashion-versatile-slim-spring-autumn-bottom-tops-c7fd?variant=86e7f843-2789-41fb-94f2-aaa1b5765a64","available_quantity":999999999,"options":[{"name":"color","value":"white 191"},{"name":"size","value":"S (45-50KG)"}],"off_ratio":50,"flashsale_info":[],"sales":724};
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.