GAR BETHE Shorts Men Knee-length Leisure Summer Beach Solid Pocket Drawstring Chic Large Size Simple Joggers Streetwear Loose Trendy M-5XL
${function() {
const variantData = data.variant || {"id":"13685bb8-63c6-4efb-aaf8-798f4f4e48dc","product_id":"d900b12c-b6ec-4f2f-8e04-464941f3281b","title":"black-Asian Size M","weight_unit":"kg","inventory_quantity":796,"sku":"","barcode":"","position":1,"option1":"black","option2":"Asian Size M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4b51980949ae9d603c640d8f091a1785.jpeg","path":"4b51980949ae9d603c640d8f091a1785.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.5,"min_quantity":1}],"weight":"0.16","compare_at_price":"29.2","price":"17.5","retail_price":"29.2","available":true,"url":"\/products\/gar-bethe-shorts-men-knee-length-leisure-summer-beach-solid-pocket-drawstring-chic-large-size-simple-joggers-streetwear-loose-trendy-m-5xl?variant=13685bb8-63c6-4efb-aaf8-798f4f4e48dc","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"Asian Size M"}],"off_ratio":40,"flashsale_info":[],"sales":847};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
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}
`
}()}
Size:
Asian 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
$17.50
${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":"13685bb8-63c6-4efb-aaf8-798f4f4e48dc","product_id":"d900b12c-b6ec-4f2f-8e04-464941f3281b","title":"black-Asian Size M","weight_unit":"kg","inventory_quantity":796,"sku":"","barcode":"","position":1,"option1":"black","option2":"Asian Size M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4b51980949ae9d603c640d8f091a1785.jpeg","path":"4b51980949ae9d603c640d8f091a1785.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.5,"min_quantity":1}],"weight":"0.16","compare_at_price":"29.2","price":"17.5","retail_price":"29.2","available":true,"url":"\/products\/gar-bethe-shorts-men-knee-length-leisure-summer-beach-solid-pocket-drawstring-chic-large-size-simple-joggers-streetwear-loose-trendy-m-5xl?variant=13685bb8-63c6-4efb-aaf8-798f4f4e48dc","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"Asian Size M"}],"off_ratio":40,"flashsale_info":[],"sales":847};
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.