PLUS LOFTS Under Armour Men's Drive Pants
${function() {
const variantData = data.variant || {"id":"f450b116-84c9-4ce4-a112-bf6952ae19da","product_id":"05f61269-18ae-4027-aed8-9ebc0b3df40c","title":"(044) Downpour Gray \/ \/ Halo Gray-28W x 30L","weight_unit":"kg","inventory_quantity":814,"sku":"","barcode":"","position":1,"option1":"(044) Downpour Gray \/ \/ Halo Gray","option2":"28W x 30L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e924d7182574ebb3e3f03e94de50781.jpeg","path":"2e924d7182574ebb3e3f03e94de50781.jpeg","width":414,"height":800,"alt":"","aspect_ratio":0.5175},"wholesale_price":[{"price":23.1,"min_quantity":1}],"weight":"0.01","compare_at_price":"42","price":"23.1","retail_price":"42","available":true,"url":"\/products\/plus-lofts-under-armour-men-39-s-drive-pants?variant=f450b116-84c9-4ce4-a112-bf6952ae19da","available_quantity":999999999,"options":[{"name":"Color","value":"(044) Downpour Gray \/ \/ Halo Gray"},{"name":"Size","value":"28W x 30L"}],"off_ratio":45,"flashsale_info":[],"sales":583};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
(044) Downpour Gray / / Halo Gray
${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:
28W x 30L
${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
$23.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":"f450b116-84c9-4ce4-a112-bf6952ae19da","product_id":"05f61269-18ae-4027-aed8-9ebc0b3df40c","title":"(044) Downpour Gray \/ \/ Halo Gray-28W x 30L","weight_unit":"kg","inventory_quantity":814,"sku":"","barcode":"","position":1,"option1":"(044) Downpour Gray \/ \/ Halo Gray","option2":"28W x 30L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e924d7182574ebb3e3f03e94de50781.jpeg","path":"2e924d7182574ebb3e3f03e94de50781.jpeg","width":414,"height":800,"alt":"","aspect_ratio":0.5175},"wholesale_price":[{"price":23.1,"min_quantity":1}],"weight":"0.01","compare_at_price":"42","price":"23.1","retail_price":"42","available":true,"url":"\/products\/plus-lofts-under-armour-men-39-s-drive-pants?variant=f450b116-84c9-4ce4-a112-bf6952ae19da","available_quantity":999999999,"options":[{"name":"Color","value":"(044) Downpour Gray \/ \/ Halo Gray"},{"name":"Size","value":"28W x 30L"}],"off_ratio":45,"flashsale_info":[],"sales":583};
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.