GAR BETHE New Men's Comfortable Cotton Linen Shorts Pants Male Summer Breathable Solid Color Linen Short Trousers Fitness Streetwear S-4XL
${function() {
const variantData = data.variant || {"id":"b55a896b-100c-47bf-8721-21434479714b","product_id":"949915e4-aead-40c6-b79e-aab95c21349e","title":"navy-Asia S 45-55KG","weight_unit":"kg","inventory_quantity":659,"sku":"","barcode":"","position":1,"option1":"navy","option2":"Asia S 45-55KG","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e5aabb05148db8c2b2d72cfa510d45f.jpeg","path":"2e5aabb05148db8c2b2d72cfa510d45f.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21,"min_quantity":1}],"weight":"0.28","compare_at_price":"35","price":"21","retail_price":"35","available":true,"url":"\/products\/gar-bethe-new-mens-comfortable-cotton-linen-shorts-pants-male-summer-breathable-solid-color-linen-short-trousers-fitness-streetwear-s-4xl?variant=b55a896b-100c-47bf-8721-21434479714b","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"size","value":"Asia S 45-55KG"}],"off_ratio":40,"flashsale_info":[],"sales":304};
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:
Asia S 45-55KG
${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
$21.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":"b55a896b-100c-47bf-8721-21434479714b","product_id":"949915e4-aead-40c6-b79e-aab95c21349e","title":"navy-Asia S 45-55KG","weight_unit":"kg","inventory_quantity":659,"sku":"","barcode":"","position":1,"option1":"navy","option2":"Asia S 45-55KG","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e5aabb05148db8c2b2d72cfa510d45f.jpeg","path":"2e5aabb05148db8c2b2d72cfa510d45f.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21,"min_quantity":1}],"weight":"0.28","compare_at_price":"35","price":"21","retail_price":"35","available":true,"url":"\/products\/gar-bethe-new-mens-comfortable-cotton-linen-shorts-pants-male-summer-breathable-solid-color-linen-short-trousers-fitness-streetwear-s-4xl?variant=b55a896b-100c-47bf-8721-21434479714b","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"size","value":"Asia S 45-55KG"}],"off_ratio":40,"flashsale_info":[],"sales":304};
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.