GAR BETHE 2024 New Large Men Summer Big Size Stretch Breathable Straight Leg Pants 38 Quick Dry Elastic Band Black Green Trousers
${function() {
const variantData = data.variant || {"id":"23864177-7360-4fe2-9bac-cb44c896f0d4","product_id":"a8d20093-147b-4372-95ea-5aed032f705d","title":"30-Light Green Cotton","weight_unit":"kg","inventory_quantity":912,"sku":"","barcode":"","position":1,"option1":"30","option2":"Light Green Cotton","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3563a6f2ddd65999ce6a4303099f7078.jpeg","path":"3563a6f2ddd65999ce6a4303099f7078.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.3,"min_quantity":1}],"weight":"0.55","compare_at_price":"45.5","price":"27.3","retail_price":"45.5","available":true,"url":"\/products\/gar-bethe-2024-new-large-men-summer-big-size-stretch-breathable-straight-leg-pants-38-quick-dry-elastic-band-black-green-trousers?variant=23864177-7360-4fe2-9bac-cb44c896f0d4","available_quantity":999999999,"options":[{"name":"size","value":"30"},{"name":"color","value":"Light Green Cotton"}],"off_ratio":40,"flashsale_info":[],"sales":651};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
30
${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:
Light Green Cotton
${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
$27.30
${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":"23864177-7360-4fe2-9bac-cb44c896f0d4","product_id":"a8d20093-147b-4372-95ea-5aed032f705d","title":"30-Light Green Cotton","weight_unit":"kg","inventory_quantity":912,"sku":"","barcode":"","position":1,"option1":"30","option2":"Light Green Cotton","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3563a6f2ddd65999ce6a4303099f7078.jpeg","path":"3563a6f2ddd65999ce6a4303099f7078.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.3,"min_quantity":1}],"weight":"0.55","compare_at_price":"45.5","price":"27.3","retail_price":"45.5","available":true,"url":"\/products\/gar-bethe-2024-new-large-men-summer-big-size-stretch-breathable-straight-leg-pants-38-quick-dry-elastic-band-black-green-trousers?variant=23864177-7360-4fe2-9bac-cb44c896f0d4","available_quantity":999999999,"options":[{"name":"size","value":"30"},{"name":"color","value":"Light Green Cotton"}],"off_ratio":40,"flashsale_info":[],"sales":651};
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.