GAR BETHE 2024 Men's Thin Breathable Drawstring Straight Loose Stretch Quick Dry Casual Ice Silk Mesh Pants Jogging Work Trousers
${function() {
const variantData = data.variant || {"id":"81698e22-b041-4b8e-a2a5-d5aa0a09ab70","product_id":"ffe2effb-e580-4683-aec7-1a6435eebece","title":"M-Black","weight_unit":"kg","inventory_quantity":643,"sku":"","barcode":"","position":1,"option1":"M","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5854101e9525184846c96d1743b0e798.jpeg","path":"5854101e9525184846c96d1743b0e798.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.1,"min_quantity":1}],"weight":"0.55","compare_at_price":"58.2","price":"29.1","retail_price":"58.2","available":true,"url":"\/products\/gar-bethe-2024-mens-thin-breathable-drawstring-straight-loose-stretch-quick-dry-casual-ice-silk-mesh-pants-jogging-work-trousers?variant=81698e22-b041-4b8e-a2a5-d5aa0a09ab70","available_quantity":999999999,"options":[{"name":"size","value":"M"},{"name":"color","value":"Black"}],"off_ratio":50,"flashsale_info":[],"sales":668};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
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}
`
}()}
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
$29.10
${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":"81698e22-b041-4b8e-a2a5-d5aa0a09ab70","product_id":"ffe2effb-e580-4683-aec7-1a6435eebece","title":"M-Black","weight_unit":"kg","inventory_quantity":643,"sku":"","barcode":"","position":1,"option1":"M","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5854101e9525184846c96d1743b0e798.jpeg","path":"5854101e9525184846c96d1743b0e798.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.1,"min_quantity":1}],"weight":"0.55","compare_at_price":"58.2","price":"29.1","retail_price":"58.2","available":true,"url":"\/products\/gar-bethe-2024-mens-thin-breathable-drawstring-straight-loose-stretch-quick-dry-casual-ice-silk-mesh-pants-jogging-work-trousers?variant=81698e22-b041-4b8e-a2a5-d5aa0a09ab70","available_quantity":999999999,"options":[{"name":"size","value":"M"},{"name":"color","value":"Black"}],"off_ratio":50,"flashsale_info":[],"sales":668};
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.