GAR BETHE 2024 Summer Men Drawstring Cargo Pants Unisex High Street 155gsm Double Knee Quick Dry Straight Paratrooper Trousers Hy0564
${function() {
const variantData = data.variant || {"id":"d6bc5682-0948-4c70-98f4-bcaf77945fe9","product_id":"36f12d9d-b365-4ebb-9f85-b694b87c8a0e","title":"S-Black","weight_unit":"kg","inventory_quantity":819,"sku":"","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/023c11f1dc0780f4bef701ee1077ad06.jpeg","path":"023c11f1dc0780f4bef701ee1077ad06.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48,"min_quantity":1}],"weight":"0.7","compare_at_price":"68.6","price":"48","retail_price":"68.6","available":true,"url":"\/products\/gar-bethe-2024-summer-men-drawstring-cargo-pants-unisex-high-street-155gsm-double-knee-quick-dry-straight-paratrooper-trousers-hy0564?variant=d6bc5682-0948-4c70-98f4-bcaf77945fe9","available_quantity":999999999,"options":[{"name":"size","value":"S"},{"name":"color","value":"Black"}],"off_ratio":30,"flashsale_info":[],"sales":716};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
S
${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
$48.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":"d6bc5682-0948-4c70-98f4-bcaf77945fe9","product_id":"36f12d9d-b365-4ebb-9f85-b694b87c8a0e","title":"S-Black","weight_unit":"kg","inventory_quantity":819,"sku":"","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/023c11f1dc0780f4bef701ee1077ad06.jpeg","path":"023c11f1dc0780f4bef701ee1077ad06.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48,"min_quantity":1}],"weight":"0.7","compare_at_price":"68.6","price":"48","retail_price":"68.6","available":true,"url":"\/products\/gar-bethe-2024-summer-men-drawstring-cargo-pants-unisex-high-street-155gsm-double-knee-quick-dry-straight-paratrooper-trousers-hy0564?variant=d6bc5682-0948-4c70-98f4-bcaf77945fe9","available_quantity":999999999,"options":[{"name":"size","value":"S"},{"name":"color","value":"Black"}],"off_ratio":30,"flashsale_info":[],"sales":716};
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.