GAR BETHE Men's Cotton Linen Pants Male Autumn New Breathable Solid Color Linen Trousers Fitness Streetwear S-3XL
${function() {
const variantData = data.variant || {"id":"869f2076-e6be-4b4c-bd81-fbcb427501df","product_id":"18c73281-37cc-42ba-aa91-11b696ddfe31","title":"S 50-60 KG-Black","weight_unit":"kg","inventory_quantity":979,"sku":"","barcode":"","position":1,"option1":"S 50-60 KG","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/47ff7c285e8c9dba23dd9fb655b30a88.jpeg","path":"47ff7c285e8c9dba23dd9fb655b30a88.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.6,"min_quantity":1}],"weight":"0.35","compare_at_price":"37.2","price":"18.6","retail_price":"37.2","available":true,"url":"\/products\/gar-bethe-mens-cotton-linen-pants-male-autumn-new-breathable-solid-color-linen-trousers-fitness-streetwear-s-3xl-xorl?variant=869f2076-e6be-4b4c-bd81-fbcb427501df","available_quantity":999999999,"options":[{"name":"size","value":"S 50-60 KG"},{"name":"color","value":"Black"}],"off_ratio":50,"flashsale_info":[],"sales":420};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
S 50-60 KG
${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}
`
}()}
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}
`
}()}
Add to cart
$18.60
${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":"869f2076-e6be-4b4c-bd81-fbcb427501df","product_id":"18c73281-37cc-42ba-aa91-11b696ddfe31","title":"S 50-60 KG-Black","weight_unit":"kg","inventory_quantity":979,"sku":"","barcode":"","position":1,"option1":"S 50-60 KG","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/47ff7c285e8c9dba23dd9fb655b30a88.jpeg","path":"47ff7c285e8c9dba23dd9fb655b30a88.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.6,"min_quantity":1}],"weight":"0.35","compare_at_price":"37.2","price":"18.6","retail_price":"37.2","available":true,"url":"\/products\/gar-bethe-mens-cotton-linen-pants-male-autumn-new-breathable-solid-color-linen-trousers-fitness-streetwear-s-3xl-xorl?variant=869f2076-e6be-4b4c-bd81-fbcb427501df","available_quantity":999999999,"options":[{"name":"size","value":"S 50-60 KG"},{"name":"color","value":"Black"}],"off_ratio":50,"flashsale_info":[],"sales":420};
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.