GAR BETHE 2024 New Casual Straight Leg Outdoor Pants Men's Casual Workwear Pants Elastic Lightweight Straight Leg Pants
${function() {
const variantData = data.variant || {"id":"b37b044a-0251-4039-9849-b755c3d9c548","product_id":"3cd9d403-ae1d-48a8-b964-212f628fdac8","title":"29-Black","weight_unit":"kg","inventory_quantity":627,"sku":"","barcode":"","position":1,"option1":"29","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3a4129916d63c3be04b20c3734a09217.jpeg","path":"3a4129916d63c3be04b20c3734a09217.jpeg","width":239,"height":334,"alt":"","aspect_ratio":0.7155688622754491},"wholesale_price":[{"price":41.6,"min_quantity":1}],"weight":"0.9","compare_at_price":"83.2","price":"41.6","retail_price":"83.2","available":true,"url":"\/products\/gar-bethe-2024-new-casual-straight-leg-outdoor-pants-mens-casual-workwear-pants-elastic-lightweight-straight-leg-pants-b8kd?variant=b37b044a-0251-4039-9849-b755c3d9c548","available_quantity":999999999,"options":[{"name":"size","value":"29"},{"name":"color","value":"Black"}],"off_ratio":50,"flashsale_info":[],"sales":387};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
29
${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
$41.60
${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":"b37b044a-0251-4039-9849-b755c3d9c548","product_id":"3cd9d403-ae1d-48a8-b964-212f628fdac8","title":"29-Black","weight_unit":"kg","inventory_quantity":627,"sku":"","barcode":"","position":1,"option1":"29","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3a4129916d63c3be04b20c3734a09217.jpeg","path":"3a4129916d63c3be04b20c3734a09217.jpeg","width":239,"height":334,"alt":"","aspect_ratio":0.7155688622754491},"wholesale_price":[{"price":41.6,"min_quantity":1}],"weight":"0.9","compare_at_price":"83.2","price":"41.6","retail_price":"83.2","available":true,"url":"\/products\/gar-bethe-2024-new-casual-straight-leg-outdoor-pants-mens-casual-workwear-pants-elastic-lightweight-straight-leg-pants-b8kd?variant=b37b044a-0251-4039-9849-b755c3d9c548","available_quantity":999999999,"options":[{"name":"size","value":"29"},{"name":"color","value":"Black"}],"off_ratio":50,"flashsale_info":[],"sales":387};
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.